JasonBie

2014年3月19日

Read Excel file from C#

摘要: Common way is:var fileName = string.Format("{0}\\fileNameHere", Directory.GetCurrentDirectory());var connectionString = string.Format("Provider=Microsoft.Jet.OLEDB.4.0; data source={0}; Extended Properties=Excel 8.0;", fileName);var adapter = new OleDbDataAdapter("SELECT * F 阅读全文

posted @ 2014-03-19 18:14 JasonBie 阅读(1143) 评论(0) 推荐(0) 编辑

导航