摘要: public static DataTable ExcelToDataTable(string strExcelFileName, string strSheetName){ string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + strExcelFileName + ";" +"Extended Properties=Excel 5.0;"; string strExcel = string.Format("sele 阅读全文
posted @ 2012-12-07 15:16 yuking 阅读(215) 评论(0) 推荐(0) 编辑