2018年11月6日
摘要: using QBYL.Common; using System.Text.RegularExpressions; using System.Web; /// /// Web请求安全检查:防止跨站点脚本,Sql注入等攻击,来自:http://bbs.webscan.360.cn/forum.php?mod=viewthread&tid=711&page=1&extra=#pid1927 ///... 阅读全文
posted @ 2018-11-06 09:58 ftk0 阅读(164) 评论(0) 推荐(0)
  2018年5月22日
摘要: using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Reflection; namespace Extension { public static class Extension { ... 阅读全文
posted @ 2018-05-22 12:17 ftk0 阅读(119) 评论(0) 推荐(0)
  2017年9月20日
摘要: try { HttpPostedFile file = HttpContext.Current.Request.Files["uploadfile"]; if (file != null) { //文件扩展类型判断 ... 阅读全文
posted @ 2017-09-20 11:46 ftk0 阅读(147) 评论(0) 推荐(0)
  2017年9月1日
摘要: protected void Button1_Click(object sender, EventArgs e) { if (ViewState["unitname"] != null && ViewState["unitprice"] != null) { DataTable dt = new D... 阅读全文
posted @ 2017-09-01 15:27 ftk0 阅读(190) 评论(0) 推荐(0)
  2017年6月29日
摘要: public class wxmethod { public static string appid = "***"; public static string appsecret = "***"; /// /// 微信第一步:请求CODE(公众号) /// /// ... 阅读全文
posted @ 2017-06-29 13:57 ftk0 阅读(398) 评论(0) 推荐(0)
  2017年6月6日
摘要: string strSQL = string.Format(@"select * from( with temp as (select * from * where {0} order by CREATE_TIME DESC) select (select count(1) from temp) t 阅读全文
posted @ 2017-06-06 14:10 ftk0 阅读(1255) 评论(0) 推荐(0)