PageValidate Methods

HD.Common

PageValidate Methods Helper帮助文档

The PageValidate type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method Static member FetchInputDigit
检查Request查询字符串的键值,是否是数字,最大长度限制
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Static member isContainSameChar(String)
Public method Static member isContainSameChar(String, String, Int32)
Public method Static member isContainSpecChar
检查输入的参数是不是某些定义好的特殊字符:这个方法目前用于密码输入的安全检查
Public method Static member IsDateTime
日期格式字符串判断
Public method Static member IsDecimal
是否是浮点数
Public method Static member IsDecimalSign
是否是浮点数 可带正负号
Public method Static member IsEmail
是否是浮点数 可带正负号
Public method Static member IsHasCHZN
检测是否有中文字符
Public method Static member IsNumber
是否数字字符串
Public method Static member IsNumberSign
是否数字字符串 可带正负号
Public method Static member IsPhone
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member Text_Length
计算文本长度,区分中英文字符,中文算两个长度,英文算一个长度
Public method ToString (Inherited from Object.)
Top
See Also

Reference