H holly888 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-28 #1 请教:访问加密的access的ado连接字符串?将所有的列出给我,谢谢!
千 千年冰虫 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-28 #2 ConnStr:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source=YourDB.mdb;Persist Security Info=False;Jet OLEDBatabase Password=Passwd';
ConnStr:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source=YourDB.mdb;Persist Security Info=False;Jet OLEDBatabase Password=Passwd';
B Block_K_E Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-28 #3 DbPath = SERVER.MapPath("SCBG.MDB") Set conn = Server.CreateObject("ADODB.Connection") conn.open "driver={Microsoft Access Driver (*.mdb)};pwd=xueziying;dbq=" & DbPath xueziying即为数据库SCBG.MDB的密码
DbPath = SERVER.MapPath("SCBG.MDB") Set conn = Server.CreateObject("ADODB.Connection") conn.open "driver={Microsoft Access Driver (*.mdb)};pwd=xueziying;dbq=" & DbPath xueziying即为数据库SCBG.MDB的密码
H HunterTeam Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-29 #4 直接用向导得出连接串就可以了。Access中设置了密码之后,要在ADO连接的ALL页面中 的PASSWORD部分输入其密码,而CONNECTION部分不必理会。