摘要: 下面以Access为例:string path = "D:\\newdb.accdb"; OleDbConnection conn = new OleDbConnection();string sql = "select * from News ";conn.ConnectionString = string.Format("Provider=Microsoft.ACE.OLEDB.12.0;; Data Source={0}; ", path);OleDbCommand comm = new OleDbCommand(sql,con 阅读全文
posted @ 2012-12-14 10:51 striiiiing 阅读(374) 评论(0) 推荐(0) 编辑