<% dim conn set conn=server.createobject("adodb.connection") conn.open "provider=microsoft.jet.oledb.4.0;data source="&sever.mappath("testdb.mdb") (为什么source=后面只要一个"&这个是什么意思)
<% on error resume next connstr="DBQ="+server.mappath(" ../database/zyjlb.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)}" set conn=server.createobject("ADODB.CONNECTION") conn.open connstr %>