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

ASP.NET TextBox Text Property

ASP.NET TextBox Text Property


TextBox control TextBox Control


Definition and Usage

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

Syntax

/>

 

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

Example

The following example sets the text of a TextBox control:

Demo Example »


TextBox control TextBox Control