Why we use validation controls?Validation is important part of any web application. User's input must always be validated before sending across different layers of the application.Validation controls are used to:
Makes an input control a required field
Compares the value of one input control to the value of another input control or to a fixed value
Checks that the user enters a value that falls between two values
Ensures that the value of an input control matches a specified pattern
Allows you to write a method to handle the validation of the value entered
Displays a report of all validation errors occurred in a Web page
C# Corner. All contents are copyright of their authors.