Partager via


How to: Add CheckBox Web Server Controls to a Web Forms Page

You can add a check box to a Web Forms page in two ways:

To add a CheckBox Web server control to a Web Forms page

  1. From the Standard tab of the Toolbox, drag a CheckBox control onto the page.

  2. In the Properties window, specify a caption by setting the Text property.

  3. Optionally, change the orientation of the caption by setting the TextAlign property.

See Also

Tasks

How to: Add CheckBoxList Web Server Controls to a Web Forms Page

Reference

CheckBox and CheckBoxList Web Server Controls Overview