改为
<%
set newconn=server.createobject(\"adodb.connection\")
set rs=server.createobject(\"adodb.recordset\")
DBPath =\"#xys#.asp\"
newconn.Open \"DBQ=\"+server.mappath(\"\"&DBPath&\"\")+\";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};\"
%>
就可以了
On Error Resume Next
欢迎光临 搜虎精品社区 (https://souho.net/) | Powered by Discuz! X3.2 |