When the user sends the data, data must be verified and then it should be sent.
There are two types of validation in ASP.Net:
• Client-Side Validation
• Server-Side Validation
The server side validation is done it occurs on the server. If the user bypasses the error from customer side then the server side it can be caught by the server.
The following are the Validation Controls in ASP.Net:
• Required Field Validator Control
• Compare Validator Control
• Range Validator Control
• Regular Expression Validator Control
• Custom Field Validator Control
• Validation Summary