上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页
摘要: 目的:以控制台方式开发Windows服务程序,调试部署方便。 https://www.cnblogs.com/itjeff/p/8316244.html https://www.cnblogs.com/gossip/p/4506142.html using System;using System.C 阅读全文
posted @ 2018-12-12 09:24 81 阅读(258) 评论(0) 推荐(0)
摘要: 公共应用当然是web系统,这个不说,我说的是企业应用。 最近一些年在企业开发中都提倡web应用,仿佛winform可以结束了,但真的这样吗?最近几天的真实经历如下: 我们部门新开发了一套系统要上线,由于是新开发,故使用了较新的框架,本框架只支持IE10以上,Firefox和chrome的较新版本,由 阅读全文
posted @ 2018-11-22 08:51 81 阅读(599) 评论(0) 推荐(0)
摘要: class test { public string a; public int b; public byte[] c; public IntPtr d; } 把上面对象序列化成string并保存。 test t=new test() { a = "aa", b = 444, c = new byt 阅读全文
posted @ 2018-11-21 09:22 81 阅读(2893) 评论(0) 推荐(0)
摘要: 转帖:https://blog.csdn.net/WPwalter/article/details/78067293 另参考:https://www.cnblogs.com/worksguo/archive/2010/02/10/1666939.html 当我们编译程序目标框架选为 .Net Fra 阅读全文
posted @ 2018-11-18 14:53 81 阅读(488) 评论(0) 推荐(0)
摘要: 总结: thread能启动非常多的线程同时工作,但threadpool和Task同时并行的线程数有限,约20个左右,但Threadpool设置最大并行数后则不会超过此数。 另:thread和threadpool的子线程中如果有未处理的异常,则主程序则会出现“*** 已停止工作”这样的错误(程序自动退 阅读全文
posted @ 2018-11-06 16:22 81 阅读(450) 评论(0) 推荐(0)
摘要: Newtonsoft.Json.Linq对象读取DataSet数据: private void button4_Click(object sender, EventArgs e) { DataTable dt = new DataTable("t"); dt.Columns.Add("a"); dt 阅读全文
posted @ 2018-11-04 23:05 81 阅读(625) 评论(0) 推荐(0)
摘要: string[] arr = { "地", "王一", "二", "大", "水", "国", "观","王二" }; CultureInfo StrokCi = new CultureInfo(133124); Thread.CurrentThread.CurrentCulture = Strok 阅读全文
posted @ 2018-10-15 20:54 81 阅读(1804) 评论(0) 推荐(0)
摘要: sql2102支持的分页查询 注意:以下都是先执行排序,再取行数据 select* from t_workers order by worker_id desc offset 3 rows --先执行排序之后,从第4行开始取全部,即前3行不要select* from t_workers order 阅读全文
posted @ 2018-10-10 21:56 81 阅读(421) 评论(0) 推荐(0)
摘要: 测试环境:win7 64位 参考:http://www.cnblogs.com/lenmom/p/8556611.html 方法1,结果:5VP9MZ60 ManagementClass mc = new ManagementClass("Win32_PhysicalMedia"); //网上有提到 阅读全文
posted @ 2018-10-09 22:11 81 阅读(739) 评论(2) 推荐(1)
摘要: 一个开源的表格控件,界面像Excel,看来很好,有机会在项目中使用:ReoGrid https://reogrid.net/ 阅读全文
posted @ 2018-09-26 14:41 81 阅读(396) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页