CheckBoxList ASP.NET Server Control

The CheckBoxList server control differs from the previous CheckBox control in that, when the CheckBox control is used, a single Checkbox control is rendered. On the other hand a single CheckBoxList control can render multiple check boxes. The CheckBoxList is another one of the controls that is part of the List controls suite.

The CheckBox control does give you greater flexibility in positioning than a CheckBoxList does because it renders as a list. However, the CheckBox's data binding support is limited when compared to the CheckBoxList because it fully supports data binding using its DataSource, DataTextField, and DataValueField properties.

The CheckBoxList does give you some control over how its list is created ...

Get Programming Data-Driven Web Applications with ASP.NET 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.