Microsoft VBScript 运行时错误 错误 '800a01a8' 缺少对象: 'conn' /Connections/conn.asp,行 10 10
这是CONN里的代码,不知道出错在哪<%'FileName="Connection_ado_conn_string.htm"'Type="ADO"'DesigntimeT...
这是CONN 里的代码,不知道出错在哪
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_conn_STRING
MM_conn_STRING =server.createobject
("adodb.connection")
conn.open "driver={microsoft access
(*.mdb)};DBQ="&server.mappath("schooldata.mdb")
%> 展开
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_conn_STRING
MM_conn_STRING =server.createobject
("adodb.connection")
conn.open "driver={microsoft access
(*.mdb)};DBQ="&server.mappath("schooldata.mdb")
%> 展开
1个回答
展开全部
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_conn_STRING
MM_conn_STRING =server.createobject("adodb.connection")
'=================添加下面语句=================
Set conn=Server.createobject("ADODB.CONNECTION")
conn.open "driver={microsoft access(*.mdb)};DBQ="&server.mappath("schooldata.mdb")
%>
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_conn_STRING
MM_conn_STRING =server.createobject("adodb.connection")
'=================添加下面语句=================
Set conn=Server.createobject("ADODB.CONNECTION")
conn.open "driver={microsoft access(*.mdb)};DBQ="&server.mappath("schooldata.mdb")
%>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询