摘要: 前几天在项目中碰到的验证问题,由于不适合用验证控件,所以只好自己写了一个验证方法,贴上来。。。 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! 阅读(609) 评论(1) 推荐(0) 编辑
摘要: 正则表达式用于字符串处理、表单验证等场合,实用高效。现将一些常用的表达式收集于此,以备不时之需。 匹配中文字符的正则表达式: [\u4e00-\u9fa5] 评注:匹配中文还真是个头疼的事,有了这个表达式就好办了 匹配双字节字符(包括汉字在内):[^\x00-\xff] 评注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1) 匹配空白行的正则表达式:\n\s*\r 评注:可... 阅读全文
posted @ 2008-11-21 13:21 share your knowledge with the world! 阅读(144) 评论(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! 阅读(455) 评论(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! 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1 、启用流水线技术 浏览器通常都是发送请求到服务器,然后等待,直到服务器回应,而流水线技术则允许用户在服务器响应之前输入多个请求,这样就减少了页面载入时间。 在 地址栏中输入“about:config”,进入配置页面,双击“network.http.pipelining”、 “network.http.proxy.pipelining”,将其值均设置为“true”,然后双击 “netw... 阅读全文
posted @ 2008-09-25 11:13 share your knowledge with the world! 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 这几天在项目中碰到一个dropdownlist联动的问题,网上找了很多文章 没怎么看的懂,自写一个送上,望高手指教。 代码送上:http://files.cnblogs.com/zoser/dropdownlist.rar 阅读全文
posted @ 2008-09-23 22:28 share your knowledge with the world! 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 前阵子项目中遇到得问题。。。。当时在网上没找到解决得办法。。。今天发一个上来。。。 using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls... 阅读全文
posted @ 2008-08-25 09:07 share your knowledge with the world! 阅读(1597) 评论(0) 推荐(0) 编辑