Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET CheckBox Text Property

ASP.NET CheckBox Text Property


Checkbox Control CheckBox control


Definition and Usage

The Text property is used to set or return the text of the CheckBox control.

Syntax

/>

 

property Description
string A string value that specifies the text of the CheckBox control.

Example

The following example sets the text on a CheckBox control:

runat="server" Text="Make it so" />

Demo Example »


Checkbox Control CheckBox control