Mega Code Archive
RangeValidator checks whether the value falls between a minimum and maximum value
You must set five properties when using this control:
ControlToValidate: The ID of the form field being validated.
Text: The error message.
MinimumValue: The minimum value.
MaximumValue: The maximum value.
Type: The type of comparison.
Possible values are String, Integer, Double, Date, and Currency.
<%@ Page Language="C#" %>
Show RangeValidator