摘要: 错误:构造解决方案提示:错误 CS5001 程序不包含适合于入口点的静态 "Main" 方法 解决:解决方案右键--》输出类型修改成类库 阅读全文
posted @ 2021-05-18 15:05 LiuzzBK 阅读(3154) 评论(0) 推荐(0) 编辑
摘要: SQL Server 2019Enterprise:HMWJ3-KY3J2-NMVD7-KG4JR-X2G8GEnterprise Core:2C9JR-K3RNG-QD4M4-JQ2HR-8468JStrandard:PMBDC-FXVM3-T777P-N4FY8-PKFF4Web:33QQK-W 阅读全文
posted @ 2021-05-14 17:06 LiuzzBK 阅读(12877) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-13 11:14 LiuzzBK 阅读(52) 评论(0) 推荐(0) 编辑
摘要: SQL Prompt是一款拥有SQL智能提示功能的SQL Server和VS插件,写语句很方便,对语句排序整齐美观。 安装包: 百度云盘分享: 链接:https://pan.baidu.com/s/1JR4DA2IrDepbRiRF1fZRCg 提取码:LZZ1 1、点击运行 SQLPrompt_6 阅读全文
posted @ 2021-05-12 17:23 LiuzzBK 阅读(921) 评论(0) 推荐(0) 编辑
摘要: 解决 集合已修改,枚举操作可能不会执行 foreach (object var in collection_to_loop) { //删除collection_to_loop中元素 } for (int i = 0; i < obj.length; i++) { //删除obj中元素 } 以上两种遍 阅读全文
posted @ 2021-05-12 16:32 LiuzzBK 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1、使用DotNetSpeech.dll。 1 1、使用DotNetSpeech.dll。 2 3 /// <summary> 4 5 /// 朗读 6 /// </summary> 7 /// <param name="text">要朗读的文本</param> 8 private void Rea 阅读全文
posted @ 2021-05-11 15:28 LiuzzBK 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 一、简单介绍ADO.NET System.Data:DataTable,DataSet,DataRow,DataColumn,DataRelation,Constraint System.Data.Common(各种数据访问类的基类和接口):DataColumnMapping,DataTableMa 阅读全文
posted @ 2021-05-11 15:21 LiuzzBK 阅读(158) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// DataTable转换为List&lt;Model&gt; /// </summary> public static class DataTableToListModel<T> where T : new() { public static IList<T> Co 阅读全文
posted @ 2021-05-11 15:16 LiuzzBK 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1、用两层循环计算,前提条件是数据已经按分组的列排好序的。 1 DataTable dt = new DataTable(); 2 dt.Columns.AddRange(new DataColumn[] { new DataColumn("name", typeof(string)), 3 new 阅读全文
posted @ 2021-05-11 15:14 LiuzzBK 阅读(1730) 评论(0) 推荐(0) 编辑
摘要: 1、先定义键盘事件 public DataGridViewTextBoxEditingControl CellEdit = null; // 声明 一个 CellEdit 输入法控制1 private void dataGridView2_EditingControlShowing(object s 阅读全文
posted @ 2021-05-11 15:03 LiuzzBK 阅读(282) 评论(0) 推荐(0) 编辑