摘要: public DataTable ExcelToDataSet(string filename, string[] templateNames) { DataTable dataTable = new DataTable(); string strCon = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Extended Properties=Excel 8.0;" + "data source=" + filename; OleDbConnection myConn = new OleDbConnec 阅读全文
posted @ 2012-06-21 13:46 万德源 阅读(434) 评论(0) 推荐(0) 编辑