我的这段代码有错吗?为什么会显示:
-------------------------------------------------------------------
Microsoft VBScript 运行时错误 错误 '800a01a8'
缺少对象: 'ActiveConnection'
/ice/gb/add.asp,行47
------------------------------------------------------------------
出错页面在这里:
http://www.sakurabbs.net/ice/gb/add.asp以下是我出错的代码,请各位高手帮我找找问题.
<%
Set Rs = Server.CreateObject("ADODB.Recordset")
Set Rs.ActiveConnection=conn
Rs.open "select * from sakurasky",sql,conn,3,2
Rs.addnew
Rs("name")=name
Rs("time")=time
Rs("message")=message
Rs.update
Rs.close
set Rs = nothing
conn.close
set conn = nothing
%>