PageValidate Class
From HD.Common
| PageValidate Class | Helper帮助文档 |
页面数据校验类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class PageValidate
Public Class PageValidate
public ref class PageValidate
type PageValidate = class end
The PageValidate type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PageValidate |
构造函数
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| FetchInputDigit |
检查Request查询字符串的键值,是否是数字,最大长度限制
| |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| isContainSameChar(String) | ||
| isContainSameChar(String, String, Int32) | ||
| isContainSpecChar |
检查输入的参数是不是某些定义好的特殊字符:这个方法目前用于密码输入的安全检查
| |
| IsDateTime |
日期格式字符串判断
| |
| IsDecimal |
是否是浮点数
| |
| IsDecimalSign |
是否是浮点数 可带正负号
| |
| IsEmail |
是否是浮点数 可带正负号
| |
| IsHasCHZN |
检测是否有中文字符
| |
| IsNumber |
是否数字字符串
| |
| IsNumberSign |
是否数字字符串 可带正负号
| |
| IsPhone | ||
| MemberwiseClone | (Inherited from Object.) | |
| Text_Length |
计算文本长度,区分中英文字符,中文算两个长度,英文算一个长度
| |
| ToString | (Inherited from Object.) |
See Also