用conn.asp连嘛,其内容为:
on error resume next dim conn dim dbpath set conn=server.createobject("adodb.connection") DBPath = Server.MapPath("data/db1.mdb") conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBPath 'conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath