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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.