废话少说,请看代码:
runquery.asp
<%@ LANGUAGE="VBSCRIPT" %
<%
'DSNless connection to Access Database
strDSNPath = "PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("testDB.mdb")
%
[an error occurred while processing the directive]