摘要:
删除%LocalAppData%\Microsoft\VisualStudio\16.0_cd0f2560\privateregistry.bin,再次启动VS。 无法初始化注册表根配置单元 - Visual Studio 反馈 阅读全文
摘要:
UDL(一种文件格式)_百度百科 (baidu.com) 阅读全文
摘要:
string nvs = btFmt.NamedSubStrings.GetAll("#", "$"); if (nvs.Contains("{model}#")) btFmt.SetNamedSubStringValue("{model}", _data[0]); 阅读全文
摘要:
存个档; //十进制转成任意进制 private static string GetCusSN(int num, int strLen, string serialChars) { int slen = serialChars.Length; if (num > Math.Pow(slen, str 阅读全文
摘要:
win11扯蛋的防火墙:远程桌面默认只添加了UDP端口规则。 开启防火墙后,导致win10以下的mstsc客户端无法访问。 解决办法就是在防火墙高级设置,添加远程桌面端口(默认3389)的TCP入站规则。 关闭防火墙是下下策。 阅读全文
摘要:
SELECT ','+ col1 FROM t1 FOR XML PATH('') 阅读全文
摘要:
后端:C# .net framework 4.8 WebApi using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.WebSockets; 阅读全文
摘要:
exec sp_reset_connection (starting up database) 17137 我的应用性能,因为这个原因压力测试性能降低了2000倍。 应该很少有人遇到这个奇葩案例吧?? 数据库选项中,自动关闭 = true时, 连接关闭,自动关闭数据库, 降低性能。 阅读全文
摘要:
internal string Code128AutoZPL(string planeText) { StringBuilder sb1 = new StringBuilder(); bool isDigit = GetDigitLength(planeText, 0) >= 2; for (int 阅读全文
摘要:
public async Task<bool> GetVAsyncs() { var ms = new List<int>() { 2000, 3000, 1000, 2000, 3000, }; var tasks = new List<Task<bool>>() { }; ms.ForEach( 阅读全文