See Also: CheckBox Members
In this topic:
Use the System.Web.UI.WebControls.CheckBox control to allow the user to select a true or false state.
If you plan to use multiple System.Web.UI.WebControls.CheckBox controls, the System.Web.UI.WebControls.CheckBoxList control is an alternative control that provides convenient data binding capabilities. However, individual System.Web.UI.WebControls.CheckBox controls provide greater control over layout.
A System.Web.UI.WebControls.CheckBox control accepts user input, which is a potential security threat. By default, ASP.NET mobile Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview.
Example
<asp:CheckBox AccessKey="string" AutoPostBack="True|