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

ASP.NET Button Text Property

ASP.NET Button Text Property


Button Control Button Control


Definition and Usage

The Text property is used to set or return the text on the Button control.

Syntax

/>

property Description
text A string value that specifies the text on the Button control.

Example

Example

The following example sets the text on a Button control:

Demo Example »


Button Control Button Control