上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 29 下一页
摘要: 代码: ICellStyle cellStyle = workbook.CreateCellStyle(); cellStyle.BorderBottom = BorderStyle.Thin; cellStyle.BorderLeft = BorderStyle.Thin; cellStyle.B 阅读全文
posted @ 2017-08-10 10:11 0611163 阅读(4019) 评论(0) 推荐(0)
摘要: 以前写抓取网页的代码喜欢用ReadToEnd,因为简单省事,后来发现,在爬取网页的时候,如果网速很慢,ReadToEnd超时的几率很大。使用Read改写后,超时几率大大减小,完整代码如下: /// <summary> /// HttpPost /// </summary> public static 阅读全文
posted @ 2017-07-27 17:31 0611163 阅读(5834) 评论(0) 推荐(0)
摘要: 写了一个Windows服务,通过C#模拟网站用户登录并爬取BUG列表查询有没有新的BUG,并提醒我 1、HttpUtil工具类,用于模拟用户登录以及爬取网页: using System; using System.Collections.Generic; using System.IO; using 阅读全文
posted @ 2017-07-27 16:58 0611163 阅读(605) 评论(0) 推荐(1)
摘要: 服务端是CS程序,客户端(调用者)是BS程序 一、代码结构: 二、服务接口Contract和实体类Domain INoticeService: using Domain; using System; using System.Collections.Generic; using System.Lin 阅读全文
posted @ 2017-07-26 12:23 0611163 阅读(489) 评论(0) 推荐(0)
摘要: SQL: select * from PT_ORG_INFO START WITH id='102' CONNECT BY PRIOR id=par_id 连表递归查询SQL: select info.* from PT_CAMERA_INFO info join (select * from PT 阅读全文
posted @ 2017-07-26 12:04 0611163 阅读(314) 评论(0) 推荐(0)
摘要: 代码: using NHibernate.Criterion; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; usi 阅读全文
posted @ 2017-07-03 13:24 0611163 阅读(3042) 评论(1) 推荐(0)
摘要: 代码: using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Net; using 阅读全文
posted @ 2017-06-29 17:06 0611163 阅读(839) 评论(0) 推荐(0)
摘要: 代码: <Grid> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="3*" /> <ColumnDefinition Width="2*" /> <ColumnDefinition Width="2*"/> <ColumnDefin 阅读全文
posted @ 2017-06-29 17:00 0611163 阅读(2174) 评论(1) 推荐(1)
摘要: 引用DLL: WPFToolkit WPFVisifire.Charts.dll WPFVisifire.Gauges.dll 1、柱状图 代码: public void BindChart1() { System.Threading.Tasks.Task.Factory.StartNew(() = 阅读全文
posted @ 2017-06-29 15:29 0611163 阅读(1611) 评论(0) 推荐(0)
摘要: 示例代码: PT_USER_INFO user = new PT_USER_INFO(); IList<TES_COMBAT_TASK> taskList = new List<TES_COMBAT_TASK>(); BackgroundWorker worker = new BackgroundW 阅读全文
posted @ 2017-06-26 13:39 0611163 阅读(571) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 29 下一页