October 2010
Intermediate to advanced
1920 pages
73h 55m
English
CheckBoxList ControlThe CheckBoxList control renders a list of check boxes, which can be rendered horizontally or vertically. Unlike the other List controls, a user always can select multiple items when using a CheckBoxList control.
For example, the page in Listing 10.13 contains a CheckBoxList control that renders its list items in two columns (see Figure 10.12).
Figure 10.12. Displaying list items with the CheckBoxList control.

Listing 10.13. ShowCheckBoxList.aspx

When you click the Submit button, the values of the Text ...