上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 94 下一页
摘要: System.Threading.ThreadStateException: 'Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that you 阅读全文
posted @ 2019-05-19 23:17 FredGrit 阅读(292) 评论(0) 推荐(0) 编辑
摘要: static void ADO() { string connString = ConfigurationManager.ConnectionStrings["connString"].ToString(); using (SqlConnection conn = new SqlConnection(connStrin... 阅读全文
posted @ 2019-05-19 21:54 FredGrit 阅读(142) 评论(0) 推荐(0) 编辑
摘要: <DataGrid.RowStyle> <Style TargetType="DataGridRow"> <Setter Property="Background" > <Setter.Value> <Binding Path="SalesOrderDetailID" Converter="{Sta 阅读全文
posted @ 2019-05-12 21:50 FredGrit 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: 简化版: 效果如图: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Drawing;using S 阅读全文
posted @ 2019-05-12 14:09 FredGrit 阅读(1353) 评论(0) 推荐(0) 编辑
摘要: 负载因子(load factor),它用来衡量哈希表的 空/满 程度,一定程度上也可以体现查询的效率,计算公式为: The ratio of the number of elements in the hash table to the table size iscalled the load fa 阅读全文
posted @ 2019-05-07 21:17 FredGrit 阅读(1545) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;using NPOI.XSSF 阅读全文
posted @ 2019-02-23 16:29 FredGrit 阅读(248) 评论(0) 推荐(0) 编辑
摘要: This artice will write the main step to export generic data via csv with complete code and step by step. 1.Down load EntityFramework Install-package e 阅读全文
posted @ 2019-01-31 22:51 FredGrit 阅读(171) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;using System.Threading; 阅读全文
posted @ 2019-01-13 18:58 FredGrit 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1.Nuget 下载NPOI; Install-package NPOI -version 2.4.1 2.下载EF install-package entityframework -version 6.2.0 3.添加数据,ef model.edmx 4.建议使用NPOI.XSSF.UserMod 阅读全文
posted @ 2019-01-02 22:07 FredGrit 阅读(314) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/17259280/how-do-you-change-background-for-a-button-mouseover-in-wpf <Window.Resources> <Style TargetType="{x:Type 阅读全文
posted @ 2018-09-23 11:09 FredGrit 阅读(1033) 评论(0) 推荐(1) 编辑
上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 94 下一页