摘要: 基础类: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();.. 阅读全文
posted @ 2013-09-11 16:45 刀叨 阅读(202) 评论(0) 推荐(0) 编辑