![]() ![]() | ||
Checked list boxes are complex data-binding controls. Here are the properties you use to bind this control to a data source (for more on these properties, see the In Depth section of this chapter):
DataSource
DisplayMember
ValueMember
You can see an example of data binding with this control in the DataBinding example on the CD-ROM in Figure 21.3, where I've bound a list box to the authors.au_lname field in the pubs database. For an example using the DisplayMember and ValueMember properties, see the "Using the Display Member and ValueMember Properties" solution, coming up next.
Related solution: |
Found on page: |
---|---|
307 |
![]() ![]() | ||