2008年5月27日

C#读取Excel2007的文件

摘要: 以读取access数据集的方式读取For excel 2007: private DataSet GetExcelData(string str) { string strCon = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + str + ";Extended Properties=\"Excel 12.0;HDR=YES\""; OleDbConnection myConn = new OleDbConnection(strCon); string strCom = &quo 阅读全文

posted @ 2008-05-27 16:00 catvi 阅读(6415) 评论(1) 推荐(0) 编辑

导航