上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 47 下一页
摘要: 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 阅读(2888) 评论(0) 推荐(0)
摘要: 转帖:https://blog.csdn.net/WPwalter/article/details/78067293 另参考:https://chuna2.787528.xyz/worksguo/archive/2010/02/10/1666939.html 当我们编译程序目标框架选为 .Net Fra 阅读全文
posted @ 2018-11-18 14:53 81 阅读(481) 评论(0) 推荐(0)
摘要: 总结: thread能启动非常多的线程同时工作,但threadpool和Task同时并行的线程数有限,约20个左右,但Threadpool设置最大并行数后则不会超过此数。 另:thread和threadpool的子线程中如果有未处理的异常,则主程序则会出现“*** 已停止工作”这样的错误(程序自动退 阅读全文
posted @ 2018-11-06 16:22 81 阅读(446) 评论(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 阅读(1802) 评论(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 阅读(418) 评论(0) 推荐(0)
摘要: 测试环境:win7 64位 参考:http://chuna2.787528.xyz/lenmom/p/8556611.html 方法1,结果:5VP9MZ60 ManagementClass mc = new ManagementClass("Win32_PhysicalMedia"); //网上有提到 阅读全文
posted @ 2018-10-09 22:11 81 阅读(729) 评论(2) 推荐(1)
摘要: 一个开源的表格控件,界面像Excel,看来很好,有机会在项目中使用:ReoGrid https://reogrid.net/ 阅读全文
posted @ 2018-09-26 14:41 81 阅读(395) 评论(0) 推荐(0)
摘要: 今天在网上找东西,看到了这篇文章:https://chuna2.787528.xyz/unruledboy/p/net_past_present_future.html 才知道装配脑袋走了。 博客园刚成立时,我就注册了,在上面有不少大神,装配脑袋和灵感之源都是非常厉害的,是真的很厉害,觉得他们真是无所不 阅读全文
posted @ 2018-09-15 22:36 81 阅读(257) 评论(0) 推荐(0)
摘要: /// <summary> /// 从一段文本中过滤出手机号,如"地址是在燕18892456564山13492456564路378号~~~洋纱小区对面 传真051253581349董事长:15133652276 1513365227615133652276总经理1513365227653575357 阅读全文
posted @ 2018-09-14 15:31 81 阅读(247) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 47 下一页