System.Web.UI.WebControls (system.web.dll)enum

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


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

Returned By

System.Web.UI.MobileControls.CompareValidator.Operator, CompareValidator.Operator

Passed To

System.Web.UI.MobileControls.CompareValidator.Operator, BaseCompareValidator.Compare( ), CompareValidator.Operator

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace