asp.net.ph

ValidationDataType Enumeration

System.Web.UI.WebControls Namespace


Specifies the validation data types used by the CompareValidator and RangeValidator controls.

Remarks

The ValidationDataType enumeration represents the different data types that the CompareValidator and RangeValidator controls can validate.

When a data type is specified for a validation control, the value of the input control being validated is parsed to the specified data type if the input control passes validation.

Members


Member Name Description
Currency A monetary data type. The value is treated as a System.Decimal. However, currency and grouping symbols are still allowed.
Date A date data type. Only numeric dates are allowed. The time portion cannot be specified.
Double A double precision floating point number data type. The value is treated as a System.Double.
Integer A 32-bit signed integer data type. The value is treated as a System.Int32.
String A string data type. The value is treated as a System.String.

See Also

BaseCompareValidator   Validating Against a Data Type Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph