上一页 1 ··· 162 163 164 165 166 167 168 169 170 ··· 196 下一页
摘要: https://blog.51cto.com/u_15162069/2751372 https://blog.csdn.net/five_s/article/details/115213102 SQL Server 批量插入数据方案 SqlBulkCopy 相较于 Insert 语句而言有20~40 阅读全文
posted @ 2022-11-13 22:01 yinghualeihenmei 阅读(4234) 评论(0) 推荐(2)
摘要: https://blog.csdn.net/dmlk31/article/details/111206272 .说明 1、必须包含名空间 System.Collection.Generic2、Dictionary里面的每一个元素都是一个键值对(由二个元素组成:键和值)3、键必须是唯一的,而值不需要唯 阅读全文
posted @ 2022-11-13 21:38 yinghualeihenmei 阅读(646) 评论(0) 推荐(0)
摘要: MTM_Timer.Enabled = true; MTM_Timer.Start(); 今天遇到一个问题,以前运行的好好的服务,重新覆盖后就不跑了,后来将Timer.Start();注销掉就好了。 有网友说MTM_Timer.Enabled = true;与MTM_Timer.Start();是一 阅读全文
posted @ 2022-11-12 15:58 yinghualeihenmei 阅读(107) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/bruce1992/p/15028817.html 用c#中创建一个windows服务非常简单,与windows服务相关的类都在System.ServiceProcess命名空间下。 每个服务都需要继承自ServiceBase类,并重写相应的启动、暂停 阅读全文
posted @ 2022-11-12 14:33 yinghualeihenmei 阅读(255) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/i-cheng/p/10018801.html 1.System.Timers命名空间下的Timer类。System.Timers.Timer类:定义一个System.Timers.Timer对象,然后绑定Elapsed事件,通过Start()方法来启 阅读全文
posted @ 2022-11-12 14:13 yinghualeihenmei 阅读(456) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/mahaisong/archive/2011/07/18/2109364.html system.ServiceProcess 命名空间提供用于实现、安装和控制 Windows 服务应用程序的类。服务是长期运行的可执行文件,其运行没有用户界面。实现服务 阅读全文
posted @ 2022-11-11 14:48 yinghualeihenmei 阅读(29) 评论(0) 推荐(0)
摘要: https://wenda.so.com/q/1371555124068874?src=140&q=c%23%E5%AE%9A%E6%97%B6%E7%A8%8B%E5%BA%8F https://blog.csdn.net/yudehui/article/details/9454947 如果是we 阅读全文
posted @ 2022-11-11 13:56 yinghualeihenmei 阅读(52) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/jingfengling/p/5962182.html 简单用法就不写了。 原始表: 1、Group By中Select指定的字段限制 示例 select 类别, sum(数量) as 数量之和, 摘要 from A group by 类别 order 阅读全文
posted @ 2022-11-11 11:18 yinghualeihenmei 阅读(756) 评论(0) 推荐(0)
摘要: 1. 聚合函数的介绍 聚合函数又叫组函数,通常是对表中的数据进行统计和计算,一般结合分组(group by)来使用,用于统计和计算分组数据。 常用的聚合函数: count(col): 表示求指定列的总行数 max(col): 表示求指定列的最大值 min(col): 表示求指定列的最小值 sum(c 阅读全文
posted @ 2022-11-11 10:35 yinghualeihenmei 阅读(342) 评论(0) 推荐(0)
摘要: https://jingyan.baidu.com/article/86f4a73eb9349037d65269bb.html C#编写的winform程序放在服务器执行 新建的一个winform程序,将config文件,与exe程序,两个拷到服务器,就可以直接运行了! C#编写的winform程序 阅读全文
posted @ 2022-11-10 19:27 yinghualeihenmei 阅读(1448) 评论(0) 推荐(0)
上一页 1 ··· 162 163 164 165 166 167 168 169 170 ··· 196 下一页