How to use Validation Controls in ASP.NET

Using Validation Controls is faster than doing validation on the server side. Please note that there are some cases where you can’t set a rule. In that Case you will add those types of validation to your Business Logic Layer, when you validate in your Class Library before sending the Data to the Data Layer to be executed. There is only one reason why Microsoft created Validation controls. The Reason is simple “Never Trust the user input”

Read more at http://www.dotnetfunda.com/articles/article785-how-to-use-validation-controls-in-aspnet-.aspx

Author: Vuyiswamb

Leave a comment