05 2010 档案

摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Collections;usingSystem.Web;using... 阅读全文
posted @ 2010-05-21 14:08 寒@鹏 阅读(465) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Drawing;namespaceUpLoadImg{... 阅读全文
posted @ 2010-05-21 12:29 寒@鹏 阅读(413) 评论(0) 推荐(0)
摘要:通用防SQL注入代码ASP版代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--dimsql_injdataSQL_injdata="'|and|exec|insert|select|delete|update|count|*|%|chr|mid|ma... 阅读全文
posted @ 2010-05-19 16:48 寒@鹏 阅读(478) 评论(0) 推荐(0)
摘要:Firebug 在IE Opera Safari 下这样使用 <script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>加入 你的页面就可以了 原来一直以为只能在火狐下用 汗官方网站:http://getfi... 阅读全文
posted @ 2010-05-18 17:37 寒@鹏 阅读(600) 评论(0) 推荐(1)
摘要:配置ASP.NET平台时遇到的“访问IIS元数据库失败”如下报错信息: 访问 IIS 元数据库失败。说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息: System.Web.Hosting.HostingEnvironmentException: 访问 IIS 元数据库失败。用于运行 ... 阅读全文
posted @ 2010-05-18 10:15 寒@鹏 阅读(3925) 评论(0) 推荐(2)
摘要:整数或者小数:^[0-9]+\.{0,1}[0-9]{0,2}$ 只能输入数字:"^[0-9]*$"。 只能输入n位的数字:"^\d{n}$"。 只能输入至少n位的数字:"^\d{n,}$"。 只能输入m~n位的数字:。"^\d{m,n}$" 只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。 只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2})?$"。 只能输入有... 阅读全文
posted @ 2010-05-10 18:00 寒@鹏 阅读(629) 评论(0) 推荐(0)