Validate an integer, double, date, and currency values entered into a textbox on ASP.NET page
Normally the CompareValidator is used to check one value against another on ASP.NET page. However it also can be used to ensure user has entered data in a correct format rather than RegularExpressionValidator
Here’s how it works:
a) Set the ControlToValidate property to the ID of the TextBox.
b) Set the Operator property to [...]






