Compare function. Helper function to convert to strings to the Type and compare them. Does not catch exceptions.
[Visual Basic] Protected Shared Function Compare( _ ByVal leftText As String, _ ByVal rightText As String, _ ByVal type As ValidationDataType _ ) As Integer [C#] protected static int Compare( string leftText, string rightText, ValidationDataType type ); [C++] protected: static int Compare( String* leftText, String* rightText, ValidationDataType type ); [JScript] protected static function Compare( leftText : String, rightText : String, type : ValidationDataType ) : int;
BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace