ASP.NET Button Text property
Definition and Usage
Text property sets or returns the text Button controls.
grammar
<asp:Button Text="string" runat="server" />
属性 | 描述 |
---|---|
text | 字符串值,规定 Button 控件上的文本。 |
Examples
Examples
The following example sets the text on the Button control:
<form runat="server">
<asp:Button id="button1" runat="server" Text="Submit" />
</form>
<asp:Button id="button1" runat="server" Text="Submit" />
</form>
The demonstration >>
Button controls