Hour 12. Validating User Input with Validation Controls

As we have examined in previous hours, collecting user input through an ASP.NET page is a relatively easy task. Unfortunately, when we’re collecting a user’s input, there is no guarantee that it has been provided in an acceptable format. Consider a page that prompts the user for his weight, like we did with the BMI calculator a few hours ago. What should happen ...

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.