摘要: 按 Win + R,输入 msinfo32 回车查看位置:系统型号 → 电脑型号(如 Dell XPS 15 9520)系统制造商 → 品牌(如 Dell、Lenovo、HP) 阅读全文
posted @ 2026-04-03 14:13 yinghualeihenmei 阅读(2) 评论(0) 推荐(0)
摘要: 1. WMIC 命令(命令行) cmd# 查看物理核心数wmic cpu get NumberOfCores # 查看逻辑处理器数wmic cpu get NumberOfLogicalProcessors # 同时查看物理CPU个数(插槽数)wmic cpu get DeviceID返回 CPU0 阅读全文
posted @ 2026-04-02 11:56 yinghualeihenmei 阅读(1) 评论(0) 推荐(0)
摘要: 使用 Columns.Remove() 方法。 // 移除指定名称的列 dataTable.Columns.Remove("ColumnName"); // 或者移除指定索引的列 dataTable.Columns.RemoveAt(0); // 或者移除列对象本身 DataColumn colum 阅读全文
posted @ 2026-04-01 12:00 yinghualeihenmei 阅读(1) 评论(0) 推荐(0)
摘要: 在静态方法或没有 HttpContext 的地方会报错, // ❌ HttpContext 为 null string path = HttpContext.Current.Server.MapPath("~/"); 解决:使用 HostingEnvironment.MapPath string p 阅读全文
posted @ 2026-03-30 17:56 yinghualeihenmei 阅读(2) 评论(0) 推荐(0)
摘要: 最后发现后面放了一个asp:TextBox控件,去掉后好了。 问题根源说明 ASP.NET WebForms 的服务器控件在渲染时: asp:TextBox → 渲染为 <input type="text"> asp:Button → 渲染为 <input type="submit"> 或 <but 阅读全文
posted @ 2026-03-20 10:15 yinghualeihenmei 阅读(2) 评论(0) 推荐(0)
摘要: 右击-添加引用,将mysql.data.dll放进去就可以了 阅读全文
posted @ 2026-03-17 14:48 yinghualeihenmei 阅读(1) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2026-03-17 11:58 yinghualeihenmei 阅读(2) 评论(0) 推荐(0)
摘要: sql语句为空的原因,执行会报错 阅读全文
posted @ 2026-03-12 15:05 yinghualeihenmei 阅读(2) 评论(0) 推荐(0)
摘要: 1、<p style="text-indent: 2em;">这个段落首行缩进2字符。</p>2、p在td里面时,直接给td设置大小是没有变化的,需要直接给p增加字体大小的属性 <td style="width: 16%; height: 200px; vertical-align: top; pa 阅读全文
posted @ 2026-03-11 14:57 yinghualeihenmei 阅读(5) 评论(0) 推荐(0)
摘要: 原文链接: https://blog.csdn.net/asd497907957/article/details/120196222 1.编写接口 这里我选择的是 “ASP.NET Web应用程序(.NET Framework)”。 填写好项目名称、选择项目位置以及所使用的框架,这里我用的是“.NE 阅读全文
posted @ 2026-03-04 17:40 yinghualeihenmei 阅读(26) 评论(0) 推荐(0)