Name

ValidationCompareOperator

Synopsis

This enumeration specifies the type of comparison that will be performed by a CompareValidator control. The CompareValidator control evaluates the expression ControlToValidate <Operator> ControlToCompare. (You can also substitute CompareValidator.ValueToCompare instead of CompareValidator.ControlToCompare). If the expression evaluates True, the validation result is valid.

Public Enum ValidationCompareOperator
                  Equal = 0
                  NotEqual = 1
                  GreaterThan = 2
                  GreaterThanEqual = 3
                  LessThan = 4
                  LessThanEqual = 5
                  DataTypeCheck = 6
End Enum

Hierarchy

System.ObjectSystem.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ValidationCompareOperator

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.