Validating date with rangevalidator control in
This does work, but Chris Van Opstal's may be needed for SQL date edits.
Even if users correctly enter an integer, for example, you might need to make sure that the value falls within a certain range.
If none of the other validators can help you, the Custom Validator usually can.
It doesn't come with a predefined way of working; you write the code for validating your self.
Since forms are an integral part of dynamic, data-driven Web sites, it is essential that a user's query into a form fit the specified guidelines.
For example, in a Web site like where users are entering shipping and billing information, it is vital that the user enter credit card numbers, zip codes, email addresses, and other information in an acceptable format.
Since this tutorial hasn't treated database access yet, we will do a simpler example, but hopefully you will see that you can do just about everything with the Custom Validator.