O'Reilly logo

Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit by Scott Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Using Text Boxes to Collect Input

<feature><title></title>

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

</feature>

In Hour 9, “Web Form Basics,” we examined how to collect user input through an ASP.NET page. In doing so we created a BMI Calculator that that prompts visitors for two pieces of information: their height and weight. Two TextBox Web controls were used to collect this information.

The TextBox Web control contains a number of properties that specify its appearance. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required