TextBox ASP.NET Server Control
The TextBox server control provides a way for users to enter information such as numbers, text, dates, and passwords. There are three types of TextBox controls: Single-Line, Multi-Line, and Password—the type of TextBox is determined by the value of the TextMode attribute. In the following sections, I will demonstrate how to use each type of TextBox control and I'll also go over some of their individual attributes you can use to control the data that is entered.
Single-Line TextBox
The single-line TextBox can be used for a variety of purposes. For example, obtaining a username, or the first and last name of a user. You could use a multi-line, but it wouldn't be prudent in these examples because our examples will ...
Get Programming Data-Driven Web Applications with ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.