摘要: DataSet ds; string strCon = " Provider = Microsoft.Jet.OLEDB.4.0 ; Data Source =C:\\Users\\karen\\Desktop\\qq.xls;Extended Properties=Excel 8.0"; OleDbConnection conn = new OleDbConnection(strCon); string sql = "select * from [Sheet1$]"; conn.Open(); OleDbDataAdapter myCommand = 阅读全文
posted @ 2012-05-21 22:32 晴天有时下鱼 阅读(156) 评论(0) 推荐(0)