BaseCompareValidator::CanConvert Method
.NET Framework (current version)
Determines whether the specified string can be converted to the specified data type.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CanConvert(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. |
![]() ![]() | CanConvert(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. |
Show:

