Hour 10. Using Text Boxes to Collect Input

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 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. For example, the ...

Get Sams Teach Yourself ASP.NET 4 in 24 Hours: Complete Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.