读取Excel数据到Table表中
摘要:
方法一: try { List list = new List(); string strConn = "Provider=Microsoft.Ace.OleDb.12.0;" + "data source=" + path + ";Extended Properties='Excel 12.0; HDR=YES; IMEX=1'"; //此连接可以操作.xls与.xlsx文件 using (OleDbConnection conn = new OleDbCon... 阅读全文
posted @ 2013-10-21 16:23 乏mily 阅读(305) 评论(0) 推荐(0) 编辑