BaseCompareValidator.CanConvert Method

 

Determines whether the specified string can be converted to the specified data type.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCanConvert(String, ValidationDataType)

Determines whether the specified string can be converted to the specified data type. This version of the overloaded method tests currency, double, and date values using the format used by the current culture.

System_CAPS_pubmethodSystem_CAPS_staticCanConvert(String, ValidationDataType, Boolean)

Determines whether the specified string can be converted to the specified data type. This version of the overloaded method allows you to specify whether values are tested using a culture-neutral format.

Return to top
Show: