摘要:
//从EXCEL读取数据到DataSetpublic DataSet importExcelToDataSet(string FilePath,string sqlStr) { string strConn; strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + FilePath + ";Extended Properties='Excel 8.0;HDR=No;IMEX=1'"; OleDbConnection conn = new OleD 阅读全文
posted @ 2013-03-05 14:10 HI END 阅读(191) 评论(0) 推荐(0) 编辑