Chapter 10. Using Text Boxes to Collect Input

In this hour, we will cover

  • Creating multiline text boxes

  • Creating password text boxes

  • Specifying the number of columns in a text box

  • Indicating the maximum number of characters that can be entered into a text box

  • Changing the look and feel of the text box by changing the font size, font name, and color of the text box

In Hour 9, “Web Form Basics,” we examined how to collect user input through an ASP.NET web page. To summarize, we saw that in order to retrieve user input, we need to use a Web Form. Inside the Web Form, Web controls are placed to allow user input.

For example, in the preceding hour we looked at a BMI Calculator ASP.NET page. For this web page, users needed to enter two pieces of information: ...

Get Sams Teach Yourself ASP.NET 2.0 in 24 Hours 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.