上一页 1 2 3 4 5 6 ··· 25 下一页
摘要: msdn.itellyou.cn 阅读全文
posted @ 2023-11-28 16:04 博客YS 阅读(2) 评论(0) 推荐(0) 编辑
摘要: public enum AccountType { [Description("普通账户")] Ordinary= 1, [Description("重要账户")] Important= 2 } #region 枚举相关 /// <summary> /// 获取枚举的描述 /// </summary 阅读全文
posted @ 2023-11-27 11:21 博客YS 阅读(27) 评论(0) 推荐(0) 编辑
摘要: clear.bat del *.objdel *.sbrdel *.pchdel *.resdel *.idbdel *.bscdel *.ilkdel *.pdbdel *.pdbdel *.depdel *.expdel *.manifestdel *.tlhdel *.tlidel *.htm 阅读全文
posted @ 2023-11-15 14:28 博客YS 阅读(4) 评论(0) 推荐(0) 编辑
摘要: --连接数 SELECT count(0) as ConnectCount from sys.dm_exec_connections --死锁数量 select cntr_value from sys.dm_os_performance_counters where counter_name = ' 阅读全文
posted @ 2023-10-31 10:52 博客YS 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 1、路径相关 //程序的完整路径 string appPath = Process.GetCurrentProcess().MainModule.FileName; //操作系统的自启动目录 string sysAutoStartPath = Environment.GetFolderPath(En 阅读全文
posted @ 2023-10-27 13:21 博客YS 阅读(981) 评论(0) 推荐(0) 编辑
摘要: 设置: 视图》工具栏》勾选视图设计器 正常右击表,编辑前200行 点击1,会显示编辑前200行SQL,添加where条件,点击2执行, 即可进行编辑数据 修改编辑前n行(默认编辑前200)工具》选项》sqlserver对象资源管理器》命令》编辑前N行 阅读全文
posted @ 2023-10-18 19:20 博客YS 阅读(196) 评论(0) 推荐(0) 编辑
摘要: /************************************************* * 描述: * * Author:ys * Date:2023/10/18 16:14:32 * Update: * **************************************** 阅读全文
posted @ 2023-10-18 16:22 博客YS 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 当程序多个dll引用同一个dll的不同版本时,程序启动会报错,此时需要在启动程序集的App.config下增加以下配置 以log4为例子 <configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Ver 阅读全文
posted @ 2023-10-13 17:23 博客YS 阅读(259) 评论(0) 推荐(0) 编辑
摘要: if(File.Exists(copyPath + "\\" + name)==true) { //删除提示访问被拒绝,增加此行代码 new FileInfo(filePath).Attributes = FileAttributes.Normal; File.Delete(copyPath + " 阅读全文
posted @ 2023-10-11 19:47 博客YS 阅读(299) 评论(1) 推荐(1) 编辑
摘要: 测试: 哈哈哈 uf65/rn+ 场景描述: 对接java接口,字符串转16进制再转base64;遇到转换不一样问题;后来定位对方编码格式不对; 测试代码: string str = "哈哈哈abcABC123"; ///字符串转换Base64 string sendStr =GetJavaBase 阅读全文
posted @ 2023-09-23 18:54 博客YS 阅读(137) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 25 下一页