分页问题
<tr><td align="center">第<%for i=1 to rs.PageCount%>
<a href="admin_modify.asp&page=<%=i%>">
<%if i=page then
response.write "<font color=#ff0000>" + cstr(i) + "</font>"
else
response.write "[<font color=#ff0000>"+cstr(i)+"</font>]"
end if%></a>
<%next%>
页</font>
</td></tr>
---------------------------------------
上面代码出现的错误提示:
错误类型:
Microsoft VBScript 编译器错误 (0x800A0410)
循环控制变量 'for' 无效
/website/admin_modify.asp, line 51, column 5
for i=1 to rs.PageCount
----^
----------------------------------------
请指点