ASP.NET Web Server
Using Visual Studio
ASP.NET Image Effects
DB Design tips
Design Secure Apps
Build Secure Apps
6. HTML Checkboxes
Check boxes are also inserted by using the standard <input> tag using both the Name and the Value attribute. Unlike the Radio buttons in HTML, the checkboxes in HTML can be in both states checked or unchecked, as they are not grouped. Due to this when using checkboxes you can have as many or only one checked as you or the user wants.
The following is an ASP.NET tutorial on how to add a HTML Checkbox into an ASP.NET page in Visual Studio.
You can also pre-select a checkbox by adding a “checked” attribute to the “<input>” tag.
<input type="checkbox" name="choiceVote" value="yes" checked>
Table of Contents
Chapter 1 - Defining HTML Forms - <form> tag