摘要:
连接Access首先看一个例子代码片段:程序代码: 1 using system data; 2 3 using system data.oledb; 4 5 ...... 6 7 // 建立指向数据库的连接 8 string strConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +Application.StartupPath + "\\login.mdb"; 9 OleDbConnection aConnection = new OleDbConnection(strConnect) 阅读全文