Поделиться через


Base Compare Validation Control Properties

The property listed in the following table applies to all validation controls that perform typed comparisons, such as CompareValidator and RangeValidator.

Property

Type

Specifies the data type of the values being compared. The values are converted to this data type before the comparison is made. This property is set with one of the ValidationDataType enumeration values. Validation fails if the value of the input control cannot be converted to the specified data type.

See Also

Reference

BaseValidator
BaseCompareValidator
CompareValidator
RangeValidator
ValidationDataType

Other Resources

Validation Server Control Syntax