<%
dim conn
dim connstr
on error resume next
connstr="DBQ="+server.mappath("fff/material.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
set conn=server.createobject("ADODB.CONNECTION")
conn.open connstr
%>
这个吧!屡试不爽
dim conn
dim connstr
on error resume next
connstr="DBQ="+server.mappath("fff/material.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
set conn=server.createobject("ADODB.CONNECTION")
conn.open connstr
%>
这个吧!屡试不爽