2016年11月8日

Oracle BulkCopy 实现datatable整体写入表,DataTable与目标表的字段不完全对应也没关系,只要datatable中所有字段在目标表中存在就行

摘要: BulkCopy需要引用1个dll,debug目录下复制8个dll 需添加引用的1个dll :Oracle.DataAccess.dll 不需引用,需要拷贝到debug下的8个dll: oci.dll、ocijdbc11.dll、ociw32.dll、orannzsbb11.dll、oraocci1 阅读全文

posted @ 2016-11-08 11:57 mol1995 阅读(1224) 评论(0) 推荐(0) 编辑

List的并集、交集、差集

摘要: 并集:List<xx> union =arps.Union(flts).ToList();交集:List<xx> inters = arps.Intersect(flts)ToList();差集:List<xx> except= arps.Except(flts)ToList(); 补充: 如果要自 阅读全文

posted @ 2016-11-08 11:19 mol1995 阅读(3695) 评论(0) 推荐(0) 编辑

得到Access数据库中所有表名

摘要: public static List<string> GetShemaTables(string db) { string path = Path.Combine(GlobalSettings.UnZipPath, db+".mdb"); string ConnectionString = stri 阅读全文

posted @ 2016-11-08 11:10 mol1995 阅读(915) 评论(0) 推荐(0) 编辑

导航