摘要: 控制台应用程序 监听服务 1 internal class HttpListenerService 2 { 3 /// <summary> 4 /// 构造函数 5 /// </summary> 6 public HttpListenerService() { } 7 8 public void O 阅读全文
posted @ 2017-11-10 11:22 之广 阅读(2378) 评论(0) 推荐(0) 编辑
摘要: siblings() 方法 查找每个 p 元素的所有类名为 "selected" 的所有同胞元素(不包括自身): each() 方法 each() 方法规定为每个匹配元素规定运行的函数。 语法 $(selector).each(function(index,element)) 输出每个 li 元素的 阅读全文
posted @ 2017-11-09 13:17 之广 阅读(2579) 评论(0) 推荐(0) 编辑
摘要: 1、navigator 浏览器本身信息。例如,客户机发送服务器的 user-agent 头部的值:navigator.userAgent 2、frames[] 浏览器框架组合。例如,frame[i] //当前窗口的框架 self.frame[i] //当前窗口的框架 w.frame[i] //窗口 阅读全文
posted @ 2017-11-07 18:17 之广 阅读(2704) 评论(0) 推荐(0) 编辑
摘要: datediff() 函数返回两个日期之间的时间,语法:datediff(datepart,startdate,enddate) [visit_time]==用户访问时间 本周:datediff(week,[visit_time],getdate())=0 最近两周:datediff(w,[visi 阅读全文
posted @ 2017-10-26 18:17 之广 阅读(1757) 评论(0) 推荐(0) 编辑
摘要: 一、 1 try 2 { 3 while (this.UploadQueue.Count > 0) 4 { 5 var row = this.UploadQueue.Dequeue(); 6 ... 阅读全文
posted @ 2017-10-23 17:17 之广 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-10-23 16:39 之广 阅读(118) 评论(0) 推荐(0) 编辑
摘要: OpenFileDialog fileDialog = new OpenFileDialog(); fileDialog.Filter = "Excel文件|*.xlsx;*.xls"; fileDialog.ShowDialog(); string filename = fileDialog.Fil... 阅读全文
posted @ 2017-10-23 16:27 之广 阅读(2181) 评论(0) 推荐(0) 编辑
摘要: 自己动手,丰衣足食 1、config文件 2、代码 3、ConfigFile 4、启动 阅读全文
posted @ 2017-10-20 16:21 之广 阅读(150) 评论(0) 推荐(0) 编辑
摘要: public void ExportExcel(string sql) { using (SqlDataReader reader = DTcms.DBUtility.DbHelperSQL.ExecuteReader(sql)) { if (reader.HasRows) { IWorkbook 阅读全文
posted @ 2017-09-26 17:14 之广 阅读(304) 评论(0) 推荐(0) 编辑
摘要: string path = Server.MapPath("~/Files/"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } string fileFullPath = path + "test.txt"; S 阅读全文
posted @ 2017-09-26 17:03 之广 阅读(267) 评论(0) 推荐(0) 编辑
我的博客——易之广