ASP.NET Web Forms CheckBox
It is used to get multiple inputs from the user. It allows user to select choices from the set of choices.
It takes user input in yes or no format. It is useful when we want multiple choices from the user.
To create CheckBox we can drag it from the toolbox in visual studio.
This is a server side control and ASP.NET provides own tag to create it. The example is given below.
Server renders it as the HTML control and produces the following code to the browser.
This control has its own properties that are tabled below.
Initially, there is no course selected then it shows none. It displays user selection as shown in the following screenshot.