11 2008 档案

摘要:前几天在项目中碰到的验证问题,由于不适合用验证控件,所以只好自己写了一个验证方法,贴上来。。。 using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.Web... 阅读全文
posted @ 2008-11-22 15:27 share your knowledge with the world! 阅读(626) 评论(1) 推荐(0)
摘要:正则表达式用于字符串处理、表单验证等场合,实用高效。现将一些常用的表达式收集于此,以备不时之需。 匹配中文字符的正则表达式: [\u4e00-\u9fa5] 评注:匹配中文还真是个头疼的事,有了这个表达式就好办了 匹配双字节字符(包括汉字在内):[^\x00-\xff] 评注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1) 匹配空白行的正则表达式:\n\s*\r 评注:可... 阅读全文
posted @ 2008-11-21 13:21 share your knowledge with the world! 阅读(154) 评论(0) 推荐(0)
摘要:表结构和数据 year month amount 1991 1 1.1 1991 2 1.2 1991 3 1.3 1991 4 1.4 1992 1 4.6 1992 2 1.5 1992 3 2.4 1992 4 2.2 查询结果 year m1 m2 m3 m4 1991 1.1 1.2 1.3 ... 阅读全文
posted @ 2008-11-19 18:11 share your knowledge with the world! 阅读(471) 评论(0) 推荐(0)
摘要:ExtJs官方网 http://www.extjs.com/ ExtJs中文站 http://www.ajaxjs.com/examples/ 一起EXT论坛 http://www.17ext.com/ EXT新手建议 http://www.javaeye.com/topic/179990 Meetrice EXT JS 编程资料馆 http://www.cnbl... 阅读全文
posted @ 2008-11-18 13:01 share your knowledge with the world! 阅读(185) 评论(0) 推荐(0)