Designer連接access數(shù)據(jù)庫?
你換一個連接方式
On Error Resume Next '容錯
Dim Conn,ConnStr,DBPath
DBPath="../rdcenter.MDB"
ConnStr="DBQ="+ServerMapPath(""&DBPath&"")+";DefaultDir=;Driver{Microsoft Access Driver (*.MDB)};"
Set Conn=Server.Createobject("Adodb.Connection")
If Err Then
Err.Clear
Else
Conn.Open ConnStr
End If 這樣,再去試試