摘要: 1.OpenFileDialog 1 private void btnOpen_Click(object sender, EventArgs e) 2 { 3 OpenFileDialog ofd = new OpenFileDialog(); 4 ofd.InitialDirectory = @" 阅读全文
posted @ 2016-02-18 16:23 虚-染D 阅读(15236) 评论(0) 推荐(2) 编辑
摘要: 1.使用OleDB操作.csv文件,比较费时 1 public static DataTable GetDataTableFromCsv(string path,bool isFirstRowHeader) 2 { 3 string header = isFirstRowHeader ? "Yes" 阅读全文
posted @ 2016-02-18 14:42 虚-染D 阅读(898) 评论(0) 推荐(0) 编辑