2010年12月21日
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><a href="#" onclick=document.execCommand("open")>打开</a><br> <a href="#" onclick=location.replace("view-source:"+location)>使用 记事本 编辑&l 阅读全文
posted @ 2010-12-21 14:02 snowolf 阅读(186) 评论(0) 推荐(0)
摘要: 1.验证字母,数字,下划线 /^\w{1,255}$/ 2.验证 Email /^\w{1,30}@\w{1,15}(\.\w{1,10}){1,4}$/ 3.验证 IP /^(\d{1,3}\.){3}\.\d{1,3}$/ 4.验证 数字 /^[\d\.]+$/ 5.验证短日期格式[2009-7-5] /^\d{2,4}(-\d{1,2}){2}$/ 6.验证时间格式[8:00:00] /^\d{1,2}(:\d{1,2}){2}$/ 7.验证日期和时间格式[2009-5-5 8:00:20] /^\d{2,4}(-\d{1,2}){2}(\s{1,3}\d{1,2}(:\d{1,2}){ 阅读全文
posted @ 2010-12-21 11:09 snowolf 阅读(175) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-12-21 10:56 snowolf 阅读(275) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-12-21 10:41 snowolf 阅读(291) 评论(1) 推荐(0)
摘要: CTS(通用类别),比如:Int32、Boolean、Char等等,最基础的Object也在此。Console:不用多说了吧,都知道它的作用。Math:数学公式类。Enviroment:获得环境信息,可以用来获得当前exe的路径,以及命令行参数等等。GC:垃圾回收机制。Random:随机数。System的下一级命名空间:1、Collections:集合框架,如 Hashtable、List、Queue等等都在这里,尤其在vs2005里,又增加了泛形(System.Collections.Generic)。2、ComponentModel:用于创建.Net框架的组件基础类。3、Configura 阅读全文
posted @ 2010-12-21 10:22 snowolf 阅读(450) 评论(0) 推荐(0)