Data Bound List Controls
Typically, list controls are bound to a collection (an implementer of ICollection) through its DataSource property.
CheckBoxList Control
The CheckBoxList control represents a multiselect check box group that can be associated with a data source. CheckBoxList descends from the ListControl defined in the System.Web.UI.WebControls namespace. Other list controls discussed in this chapter also descend from ListControl. ListControl contains some key properties that its descendants, such as CheckBoxList, inherit. These are listed in Table 27.1.
Property | Description |
---|---|
Items | Returns a collection of items contained in the CheckBoxList. |
DataSource | Sets the data source that populates the controls. ... |
Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.