TypeValid function. Helper function to determine of string can be converted to type. Does not throw exceptions.
[Visual Basic] Protected Shared Function TypeValid( _ ByVal text As String, _ ByVal type As ValidationDataType _ ) As Boolean [C#] protected static bool TypeValid( string text, ValidationDataType type ); [C++] protected: static bool TypeValid( String* text, ValidationDataType type ); [JScript] protected static function TypeValid( text : String, type : ValidationDataType ) : Boolean;
BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace