读取excel
摘要:
public DataTable GetData(string strpath, string strSql,string ExcelEdition) { DataTable dtgc = null; OleDbConnection con = null; try { string strCon; switch(ExcelEdition) { case "2003": strCon= "provider=microsoft.jet.oledb.4.0;data source=" + strpath + ";extended properties 阅读全文
posted @ 2011-10-15 21:41 代码苦行僧 阅读(263) 评论(0) 推荐(0) 编辑