Summary

Using validation controls is a very quick, easy, and dependable way to validate data. ASP.NET offers you some very good stock validation controls you can use, and also enables you to create your own custom validation controls. Using these controls not only saves you development time, but also is a very clean way to implement data validation. In this chapter, you learned how to use the following validation controls:

  • What are validation controls and how do they work?

  • Using the RequiredFieldValidator control

  • Using the CompareValidator control

  • Using the RangeValidator control

  • Using the RegularExpressionValidator control

  • Using the CustomValidator control

  • Displaying error information using the ValidationSummary control

  • Multiple validator controls ...

Get Programming Data-Driven Web Applications with ASP.NET 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.