摘要: http://www.cnblogs.com/zhangzt/archive/2009/12/14/1623426.html http://www.cnblogs.com/webbzhong/p/4800980.html http://www.cnblogs.com/jiekzou/p/449150 阅读全文
posted @ 2017-04-17 14:02 .net程序狗 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 验证数字的正则表达式集 验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位小数的正实数:^[0-9]+(.[0-9]{1,3})?$ 验证... 阅读全文
posted @ 2017-02-09 11:29 .net程序狗 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1, public String? str{get;set;} //str可为字符串,也可为空,其他类型的用法同是。 2,sqlserver生成脚本的步骤为:在数据库名上右键,任务,生成脚本 3, 阅读全文
posted @ 2017-02-09 10:15 .net程序狗 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-01-16 08:42 .net程序狗 阅读(497) 评论(0) 推荐(0) 编辑
摘要: public void Application_Start() { // 在应用程序启动时运行的代码 System.Timers.Timer timer = new System.Timers.Timer(1000); timer.AutoReset = true; timer.Enabled = 阅读全文
posted @ 2016-12-07 16:23 .net程序狗 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 普通状态中JS获取控件IDdocument.getElementById('controlID'); JS获取父窗口控件IDwindow.parent.document.getElementById("controlID"); JS获取iframe中控件IDwindow.frames['iframe 阅读全文
posted @ 2016-12-01 17:25 .net程序狗 阅读(312) 评论(0) 推荐(0) 编辑