上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 120 下一页
摘要: https://github.com/Smoothfu/CSharp/tree/SecuritySafeCriticalpublicvoidSetApartmentStateApartmentStatestatesetstheapartmentstateofathreadbeforeitisstar 阅读全文
posted @ 2019-05-19 23:20 FredGrit 阅读(230) 评论(0) 推荐(0)
摘要: 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 阅读(302) 评论(0) 推荐(0)
摘要: static void ADO() { string connString = ConfigurationManager.ConnectionStrings["connString"].ToString(); using (SqlConnection conn = new SqlConnection(connStrin... 阅读全文
posted @ 2019-05-19 21:54 FredGrit 阅读(150) 评论(0) 推荐(0)
摘要: <DataGrid.RowStyle> <Style TargetType="DataGridRow"> <Setter Property="Background" > <Setter.Value> <Binding Path="SalesOrderDetailID" Converter="{Sta 阅读全文
posted @ 2019-05-12 21:50 FredGrit 阅读(1088) 评论(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 阅读(1393) 评论(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 阅读(1589) 评论(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 阅读(259) 评论(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 阅读(182) 评论(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 阅读(220) 评论(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 阅读(323) 评论(0) 推荐(0)
上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 120 下一页