BaseCompareValidator.Compare Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Compares two strings using the specified operator and validation data type.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_protmethodSystem_CAPS_staticCompare(String, Boolean, String, Boolean, ValidationCompareOperator, ValidationDataType)

Compares two strings using the specified operator and validation data type. This version of the overload allows you to specify whether values are compared using a culture-neutral format.

System_CAPS_protmethodSystem_CAPS_staticCompare(String, String, ValidationCompareOperator, ValidationDataType)

Compares two strings using the specified operator and data type. This version of the overloaded method compares currency, double, and date values using the format used by the current culture.

Return to top
Show: