Update: 22-03-2010
Live preview introduced: http://www.iup.in/validator/Default.aspx
Precaution is better than Cure
Knowledge validation acts as the first step of protection in opposition to the bugs. to keep up a solution it is important to have validations to forestall the invalid data creeping into the database.
This elegance consists of the widely used validations which you will to find helpful for your undertaking. Each line of code is commented intimately for speedy understanding of the method.
Implementation is lovely simple. you'll simply have to go your enter knowledge and check for the boolean.
Instructions to be used:
Utilization of the strategies in class are pretty uncomplicated
1 ) IsInteger (string worth);
if (DataValidator.IsInteger("123") //Valid Data else //Invalid Data
2 ) IsAlpha(string price) ;
if (DataValidator.IsAlpha("data2")) //Valid Data else //Invalid Data
THREE ) IsDecimal(string value);
if (DataValidator.IsDecimal("2.234")) //Valid Data else //Invalid Data
4 ) IsIPAddress(string worth) ;
if (DataValidator.IsIPAddress("127.0.0.1")) //Valid Data else //Invalid Data
FIVE ) IsURL(string value);
if (DataValidator.IsURL("http://www.codecanyon.net")) //Valid Data else //Invalid Data
6 ) IsEMailAddress(String worth);
if (DataValidator.IsEMailAddress("me(at)example.com")) //Valid Data else //Invalid Data
7 ) IsHexColor(string price);
if (DataValidator.IsHexColor("#FFFFFF")) //Valid Data else //Invalid Data
8 ) IsDate(string value);
if (DataValidator.IsDate("12-Jan-2009")) //Valid Data else //Invalid Data
all of the easiest 
FULL DOWNLOAD