摘要:
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 阅读全文