The data types supported by the RangeValidator control are Integer, Double, String, Currency, and Date.
The RangeValidator control in ASP.NET supports the following data types:
- Integer: Validates that the input falls within a specified range of integer values.
- Double: Validates that the input falls within a specified range of double-precision floating-point values.
- Currency: Validates that the input falls within a specified range of currency values.
- Date: Validates that the input falls within a specified range of dates.
- String length: Validates the length of a string input falls within a specified range.
When configuring a RangeValidator control, you can specify the type of data it will validate using the Type
property, and you can define the range using properties like MinimumValue
, MaximumValue
, MinimumData
, and MaximumDate
, depending on the data type selected.