CheckBox and CheckBoxList Web Server Controls
The CheckBox and CheckBoxList Web server controls provide a way for users to switch between true-false or yes-no options.
Because there are two different controls, and because they function somewhat differently, it is important to understand their different purposes. The topics in this section provide information on what the CheckBox and CheckBoxList are, how they are different, and how to work with each type of control.
In This Section
Related Sections
- ASP.NET Web Server Controls Overview
Provides general information on working with ASP.NET Web server controls.
- Individual ASP.NET Web Server Controls
Provides information on other Web server controls.
- Adding Items in a List Web Server Control
Provides information on defining individual check boxes in the CheckBoxList control, either at design time or programmatically at run time.
- Populating a List Web Server Control from a Database
Provides information on binding a CheckBoxList control to a database in order to display bound check boxes.
- Determining the Selection in a List Web Server Control
Provides information on checking programmatically what the user has selected.
- Setting the Selection in a List Web Server Control
Provides information on pre-selecting items in a CheckBoxList control.
- Responding to Changes in a List Web Server Control
Provides information on checking programmatically which check box the user has clicked in a CheckBoxList control.