asp网页调用变量函数问题。放到自己的站无法打开

2025-05-08 05:41:25
推荐回答(1个)
回答1:

你这错误提示都说得很明白很明白了,是缺少next

因为你的代码使用了for循环

而你的for循环有始且无终

上面用了:
for i=1 to rs_parameter("ex_list")

开始循环

但下面没有 next 继续循环

修改:

for i=1 to rs_parameter("ex_list")
if rs.eof Then exit For
'If i Mod 2 =0 Then
'response.write ""
'Else
'response.write ""
'End If

rs.movenext

next ‘这里就有next了
%>