<%@ Page Language="C#" AutoEventWireup="True" %>

CompareValidator Example

Enter a value in each textbox. Select a comparison operator
and data type. Click "Validate" to compare values.
String 1:
Comparison Operator:
Equal NotEqual GreaterThan GreaterThanEqual LessThan LessThanEqual DataTypeCheck
String 2:

Data Type:
String Integer Double Date Currency