Skip to main content

Posts

Showing posts from October, 2013

Validation Controls in ASP.Net

Introduction   It's very important to validate the user input in any data entry forms. Improper validation of form data is one of the main causes of security vulnerabilities. Invalid data can cause unexpected errors in system and also It exposes your website to attacks such as cross-site scripting and SQL injections etc. ASP.NET is rich with validation controls and In this article I’m trying to explore the ASP.NET Validation controls in depth with the help of samples.  I hope you will enjoy this article. For your reference I have  attached   the source code(s) for all the sections with this article.  I have put my time and efforts on all of  my articles , Please don't forget to mark your  votes ,  suggestions and feedback to improve the quality of this and upcoming articles.    Background    If we are assuming that the user will enter all data in expected form then it’s a wrong assumption. It’s always better to validate the user input before accepting to the system.