欢迎莅临 SUN WU GANG 的园子!!!

世上无难事,只畏有心人。有心之人,即立志之坚午也,志坚则不畏事之不成。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  470 随笔 :: 0 文章 :: 22 评论 :: 30万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

2025年1月6日

摘要: windows下设置开机自动运行批处理脚本 创建或准备bat批处理文件 使用快捷键,win+r 输入:gpedit.msc进入本地策略管理器 点击windows设置下的脚本(启动/关机),然后双击启动 点击添加,然后点击浏览,选择批处理文件然后确定就可以了 批处理文件内容: 启动服务 卸载服务 阅读全文
posted @ 2025-01-06 10:36 sunwugang 阅读(23) 评论(0) 推荐(0) 编辑

摘要: windows下将可执行exe设置为--开机自动运行程序 选中可执行程序(.exe)==》右键创建快捷方式 使用快捷键,win+r 输入: shell:startup 打开[启动文件夹]之后,将需要设置开机自启动的软件程序的快捷方式放入文件夹 电脑开机或者重启时,该【启动文件夹】下的软件则会自动开启 阅读全文
posted @ 2025-01-06 10:25 sunwugang 阅读(109) 评论(0) 推荐(0) 编辑

2024年12月26日

摘要: 安装迅雷,进行下载 ed2k://|file|cn_sql_server_2012_developer_edition_with_sp1_x64_dvd_1234492.iso|4231520256|C3653494E5E01CA5ADFAF910CBC32D75|/ 阅读全文
posted @ 2024-12-26 10:46 sunwugang 阅读(2) 评论(0) 推荐(0) 编辑

2024年11月11日

摘要: SELECT @@VERSION AS '版本信息', SERVERPROPERTY('Edition') AS '版本', SERVERPROPERTY('LicenseType') AS '许可类型', SERVERPROPERTY('ProductVersion') AS '产品版本号', S 阅读全文
posted @ 2024-11-11 17:03 sunwugang 阅读(6) 评论(0) 推荐(0) 编辑

2024年10月10日

摘要: using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Ru 阅读全文
posted @ 2024-10-10 09:55 sunwugang 阅读(8) 评论(0) 推荐(0) 编辑

2024年10月9日

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namesp 阅读全文
posted @ 2024-10-09 14:30 sunwugang 阅读(27) 评论(0) 推荐(0) 编辑

2024年9月23日

摘要: base64 to pdf 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Text; 6 using System.Threadin 阅读全文
posted @ 2024-09-23 09:23 sunwugang 阅读(63) 评论(0) 推荐(0) 编辑

2024年7月9日

摘要: using System; class Program { static void Main() { Console.WriteLine(AreAnagrams("CCAA", "CAAC")); Console.WriteLine(AreAnagrams("CARE", "RACE")); } s 阅读全文
posted @ 2024-07-09 15:11 sunwugang 阅读(5) 评论(0) 推荐(0) 编辑

2024年4月17日

摘要: EF的查询效率如何优化?EF(Entity Framework)是一个对象关系映射框架,可以用来简化与数据库交互的代码。在进行查询时,以下是一些优化EF查询效率的方法: 使用延迟加载:EF默认使用延迟加载(Lazy Loading)来获取导航属性的数据。延迟加载可以避免不必要的查询和数据加载,因此可 阅读全文
posted @ 2024-04-17 16:07 sunwugang 阅读(22) 评论(0) 推荐(0) 编辑

2024年4月12日

摘要: StringHelper--字符串左右添加指定字符 1 using System; 2 using System.Collections.Generic; 3 using System.Configuration; 4 using System.Linq; 5 using System.Text; 阅读全文
posted @ 2024-04-12 09:49 sunwugang 阅读(22) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示