ValidationCompareOperator Enumeration
.NET Framework 2.0
Specifies the validation comparison operators used by the CompareValidator control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
| Member name | Description | |
|---|---|---|
| DataTypeCheck | A comparison for data type only. | |
| Equal | A comparison for equality. | |
| GreaterThan | A comparison for greater than. | |
| GreaterThanEqual | A comparison for greater than or equal to. | |
| LessThan | A comparison for less than. | |
| LessThanEqual | A comparison for less than or equal to. | |
| NotEqual | A comparison for inequality. |
The ValidationCompareOperator enumeration represents the comparison operations that can be performed by the CompareValidator control.
Note |
|---|
| Unlike the other operators, DataTypeCheck is a unary operation. Only the data type of the input control being validated is checked. If the ControlToCompare or ValueToCompare properties are set when this operation is used, those values are not checked. |
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show:
Note