05 2020 档案
摘要:using System; using System.DirectoryServices; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { sta
阅读全文
摘要:错误是 超出最大连接数 排查方法:命令行进入MySQL连接,查询当前连接数 命令:show full processlist; 在连接数达到大量数值的时候,依次关闭相关服务,若某个服务触发连接数大量减少,说明该服务连接量大,或者使用完不释放 查看超时等待时间: 命令:show variables l
阅读全文
摘要:string str= “12345”;char[] ch = str.ToArray();//把文本框你的内容转换为char类型数组Array.Reverse(ch, 0, str.Length);//使用Array类的Reverse方法颠倒数据str2 = new StringBuilder()
阅读全文
摘要:Guid.NewGuid()一般用于随机ID的创建 Guid.NewGuid().ToString()的几种格式 1、Guid.NewGuid().ToString("N") 结果为: 38bddf48f43c48588e0d78761eaa1ce6 2、Guid.NewGuid().ToStrin
阅读全文
摘要:1:更新驱动,MongoDB.Driver 、MongoDB.Driver.Core 、MongoDB.Bson 统统更新至2.7.0版本 2:初始化MongoDB,对象database 3:获取所有集合collection: 4:创建接收数据的对象
阅读全文
摘要:错误:The GuidRepresentation for the reader is CSharpLegacy, which requires the binary sub type to be UuidLegacy, not UuidStandard 三种解决方案: 1、修改全局配置 BsonD
阅读全文
摘要:打包工具一: Advanced Installer安装包打包工具使用教程:https://www.cnblogs.com/liuyoung/p/8158070.html打开压缩包【Advanced Installer 14.x Deluxe Patch By.Sound】运行【advinst.msi
阅读全文
摘要:Windows服务器时间同步分服务端和客户端,客户端同步服务端的时间: 教程参考: https://jingyan.baidu.com/article/e5c39bf5e6a72a39d6603353.html
阅读全文