[求助]ADODB.Recordset (0x800A0E78)问题
错误类型:ADODB.Recordset (0x800A0E78)
对象关闭时,不允许操作。
/lunwen/admin/report.asp, 第 183 行
<%
response.write rs.pagesize&"条一页 "
if Page=1 then
response.write"第一页 "
end if
If Page <> 1 Then
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=1>第一页</A>?"
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=" & (Page-1) & ">上一页</A>?"
End If
If Page <> rs.PageCount Then //此处出错
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=" & (Page+1) & ">下一页</A>?"
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=" & rs.PageCount & ">最后一页</A>?"
End If
if page= rs.PageCount then
response.write"最后一页 "
end if
response.write "总共有"&rs.pagecount&"页, 目前是第"&page&"页"
'response.write page&"/"&rs.pagecount&"页</center>"
%>
response.write rs.pagesize&"条一页 "
if Page=1 then
response.write"第一页 "
end if
If Page <> 1 Then
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=1>第一页</A>?"
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=" & (Page-1) & ">上一页</A>?"
End If
If Page <> rs.PageCount Then //此处出错
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=" & (Page+1) & ">下一页</A>?"
Response.Write "<A HREF=report.asp?keyword="&keyword&"&reportid="&reportid&"&Page=" & rs.PageCount & ">最后一页</A>?"
End If
if page= rs.PageCount then
response.write"最后一页 "
end if
response.write "总共有"&rs.pagecount&"页, 目前是第"&page&"页"
'response.write page&"/"&rs.pagecount&"页</center>"
%>
请高手帮忙看下
[此贴子已经被作者于2007-5-29 0:21:00编辑过]