摘要: 阅读全文
posted @ 2020-09-08 17:32 博学多思 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 计算机进入多核时代,开发人员想要充分利用计算机内核,需要编写多线程程序。线程属于进程,理想状态下,在4核的计算机上最好有4个线程。 早期的线程创建是利用 Thread类,线程的创建需要花费很多时间,基于此,微软公司为开发人员创建了线程池,线程池具有智能爬山算法,可以 根据线程的使用情况,动态调整线程 阅读全文
posted @ 2018-09-19 09:10 博学多思 阅读(1603) 评论(0) 推荐(0) 编辑
摘要: MailMessage msg = new MailMessage(); msg.Subject = "测试"; //标题 msg.Body = " 测试,测试"; //内容 msg.From = new MailAddress("163邮箱"); ... 阅读全文
posted @ 2018-06-22 12:43 博学多思 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 判断日期是否有效 update Sheet1$ set date=null where Isdate(date)=0 select * from sheet1 where 社区网格 is null or 楼栋名称 is null or 单元 is null or 房间号 is null 身份证号码 select * from sheet1 where isdate(substring... 阅读全文
posted @ 2016-03-25 14:03 博学多思 阅读(137) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Da... 阅读全文
posted @ 2016-03-25 14:01 博学多思 阅读(630) 评论(0) 推荐(0) 编辑