摘要:
转自:https://www.cnblogs.com/huangxincheng/p/12739752.html 前几天一位朋友去面试,面试官问了他同步,异步,多线程之间是什么关系,异步比同步高效在哪?多线程比单线程高效在哪?由于回答的不好,让我帮他捋一下,其实回答这个问题不难,难就难在只对别人说理 阅读全文
摘要:
1.使用entityConnectionStringBuilder 创建连接字符串 public static string GetConnStr(string host, string catalog, string user, string pass, bool winAuth=false) { 阅读全文
摘要:
https://blog.csdn.net/yuxuac/article/details/79204910 1.查询表行数 SELECT object_name (i.id) TableName, rows as RowCnt FROM sysindexes i INNER JOIN sysObje 阅读全文
摘要:
1.取时间最新的记录 不分组有重复(多条CreateTime一样的都是最新记录) select * from test t where pid in ( select PId from Test t where time=(select max(time) from Test t1 where t1 阅读全文
摘要:
Process.Start("cmd.exe", "/c start \"title\" \"C:\\Program Files\\a.bmp\" & pause"); 路径含有空格 需要双引号引起来 注意start 后面的第一个参数作用是title参数 不可忽略 且title和path之间需要有空 阅读全文
摘要:
int age=18; Console.WriteLine($"XiaoMing is \"{age}\" {{ years}} old"); Console.WriteLine($@"XiaoMing is \""{age}\"" {{ years}} old"); Console.Write( 阅读全文
摘要:
update table set photo=(SELECT * FROM OPENROWSET(BULK N'D:\no.png', SINGLE_BLOB) as Photo) From:https://www.cnblogs.com/xuejianxiyang/p/11225577.html 阅读全文
摘要:
Time字段以小时分组统计 select datepart(hour,time) hour,count(1) count from table where Similarity<75 group by datepart(hour,time) order by count desc From:http 阅读全文
摘要:
1.错误 HTTP Error 500.21 - Internal Server Error Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its modul 阅读全文
摘要:
解决办法 安装vc++ 2015 Redistributable 64位系统安装x64 如果还报错先装x64版本再装x86版本 https://files.cnblogs.com/files/xuejianxiyang/vc_redist.part1.rarhttps://files.cnblogs 阅读全文