Net-informations.com
SiteMap  | About    

Textbox Control



The TextBox server control is an input control which can be used to accept user input.

textbox-control

By default Texboxes comes with a single line of text , you can also use the TextBox control to display a multiline text box or a text box that masks user input by changing the value of the TextMode property to TextBoxMode.MultiLine.

VB.Net

C#

If you want to limit the user input to a specified number of characters, set the MaxLength property.

VB.Net

C#

The following ASP.NET program retrieve user input from a TextBox control and display it to a Label control.

Defaul.aspx




Click the following links to see full source code

C# Source Code
VB.NET Source Code
default.aspx.cs
default.aspx.vb





net-informations.com (C) 2019    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.