求助:缺少对象
<!--#include file="conn.asp" -->
<%
dim filepath,id
sql = "Select * from book"
Set rs = Server.CreateObject ("ADODB.Recordset")
rs.Open sql,conn,3,2
id=rs("id")
folder = "page/"
filepath="htmfiles/"&id&".html"
Set rs = Server.CreateObject ("ADODB.Recordset")
sql0="update book set c_filepath='"&filepath&"' where id="&id
rs.Open sql0,conn,3,2
Set rs = Nothing
rs.close
%>
运行后提示:
Microsoft VBScript 运行时错误 错误 '800a01a8'
缺少对象: 'rs'
该怎么改??