摘要:
基础类:public delegate string strSQL();public static DataSet ExcelImport(string xlsPath, strSQL sql){ try { // 连接字符串 string connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties='Excel 8.0;HDR=Yes;IMEX =1';" + "data source=" + xlsPath; DataSet ds = new DataSet();.. 阅读全文