摘要:
/**//// /// alert(msg); /// /// this /// need show message public void Show(System.Web.UI.Page page,string msg) { page.RegisterStartupS... 阅读全文
摘要:
/**//// /// check DateTime. Example:2005-9-2 /// public bool IsValidDate(string str) { return Regex.IsMatch(str, @"^(((((1[6-9]|[2-9]\d)\d{2})-(0?[13578... 阅读全文
摘要:
/**//// /// 此处定义的是DES加密 /// public class StringSetGet { private string iv="11111111"; private string key="00000000"; private Encoding encoding=new UnicodeEncoding(); private DES des; public S... 阅读全文
摘要:
/**//// /// 设置cookies并且加密,无返回值 /// public void SetCookies(string name,string values) { HttpCookie cookie = new HttpCookie(name); string str=ssg.SetString(values); cookie.Value = str; S... 阅读全文
摘要:
最后页" NextPageText="下一页" PrevPageText="前一页" FirstPageText="最前页" InputBoxStyle="border:1px #0000FF solid;text-align:center;F... 阅读全文
摘要:
引用自:http://www.cnblogs.com/iCeSnaker/archive/2004/07/31/29017.aspx 阅读全文
摘要:
"^\d+$" //非负整数(正整数 + 0)"^[0-9]*[1-9][0-9]*$" //正整数"^((-\d+)|(0+))$" //非正整数(负整数 + 0)"^-[0-9]*[1-9][0-9]*$" //负整数"^-?\d+$" //整数"^\d+(\.\d+)?$" //非负浮点数(正浮点数 + 0)"^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0... 阅读全文