1 2 3 4 5 ··· 11 下一页
  2024年8月20日
摘要: 获取IP IPHostEntry host = Dns.GetHostEntry(Dns.GetHostName()); var ippaddress = host .AddressList .FirstOrDefault(ip => ip.AddressFamily == AddressFamil 阅读全文
posted @ 2024-08-20 08:43 RookieBoy666 阅读(2) 评论(0) 推荐(0) 编辑
  2024年8月8日
摘要: Get 和Post获取传值 Get string strNewPassWord = HttpContext.Request.Query["NewPassWord"]; string strOldPassWord = HttpContext.Request.Query["OldPassWord"]; 阅读全文
posted @ 2024-08-08 12:45 RookieBoy666 阅读(1) 评论(0) 推荐(0) 编辑
  2024年7月26日
摘要: 1.先安装EF相关包 : 2.appsettings.Development.json添加节点 "ConnectionStrings": { "sqlserver": "server=192.168.0.136;Initial Catalog=TY_Version;User ID=sa;Passwo 阅读全文
posted @ 2024-07-26 11:04 RookieBoy666 阅读(1) 评论(0) 推荐(0) 编辑
  2024年7月4日
摘要: 命令: git config --global --add safe.directory 'D:/ZJP/Code/五代' 阅读全文
posted @ 2024-07-04 14:51 RookieBoy666 阅读(0) 评论(0) 推荐(0) 编辑
  2024年5月8日
摘要: ![image](https://img2024.cnblogs.com/blog/1288881/202405/1288881-20240508165007760-801726987.png) 阅读全文
posted @ 2024-05-08 16:50 RookieBoy666 阅读(5) 评论(0) 推荐(0) 编辑
  2024年4月9日
摘要: 取二进制图片数据 $('#photoUrl').attr('src', data.Photo ? 'data:image/jpeg;base64,' + data.Photo : '/Content/img/User.png'); 取input type='checkbox' 是否选中 $("#Is 阅读全文
posted @ 2024-04-09 15:09 RookieBoy666 阅读(2) 评论(0) 推荐(0) 编辑
  2024年3月23日
摘要: public static class HttpHelper { //private static LogHelper Log { get; } = new LogHelper("HttpHelper"); /// <summary> /// 发起POST同步请求 /// </summary> // 阅读全文
posted @ 2024-03-23 17:56 RookieBoy666 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 命名空间: 点击查看代码 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.IO; using System.Linq; 类: 点击查看代码 /// <summary> /// Json扩展方法 阅读全文
posted @ 2024-03-23 17:55 RookieBoy666 阅读(8) 评论(0) 推荐(0) 编辑
摘要: nuget安装 Magick.NET-Q8-AnyCPU 我项目Framework未 4.5.1 这安装的7.17.0版本的包: 程序集引用: using ImageMagick; ConvertHeicToJpg方法转换代码如下: 点击查看代码 /// <summary> /// Heic转ToJ 阅读全文
posted @ 2024-03-23 16:52 RookieBoy666 阅读(241) 评论(0) 推荐(0) 编辑
  2024年2月27日
摘要: 代码 点击查看代码 int xWidth3 = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width; int yHeight3 = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height 阅读全文
posted @ 2024-02-27 15:08 RookieBoy666 阅读(82) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 11 下一页