no DataSource property for CheckedListBox
-
How do you databind to checkedlistbox since it does not have DataSource property. I want to bind an array to list the check boxes in that control. Thanks in advance
You can either implement data-binding yourself using the
CurrencyManager
from theCheckListBox
control'sBindingContext
. See that property documentation and follow the references to learn more. You won't get it for free, but it's a good place to start. If you use it often, extendCheckedListBox
with your own control and add data-binding capabilities.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----