ASP.NET CheckBox Text property
Definition and Usage
Text property sets or returns the text CheckBox control.
grammar
<asp:CheckBox Text="string" runat="server" />
属性 | 描述 |
---|---|
string | 字符串值,规定 CheckBox 控件的文本。 |
Examples
The following examples are provided in the text on the CheckBox control:
<form runat="server">
<asp:CheckBox id="check1"
runat="server" Text="Make it so" />
</form>
<asp:CheckBox id="check1"
runat="server" Text="Make it so" />
</form>
The demonstration >>
CheckBox control