死循环问题,求助。。
我的这段代码陷入死循环了,, 运行提示脚本运行时间太长,各位帮我看下代码哪里有问题啊?谢谢了!response.Write "<table width='180' border='0' cellpadding='0' cellspacing='0' class='color_lan'><tr>"
row=0
do while not(menu_rs.eof and menu_rs.bof)
response.Write "<td width='71' height='30' align='center' class='bottom_line'><a href='list.asp?smallid="&menu_rs("small_id")&"&midid="&menu_rs("mid_id")&"'>"&menu_rs("small_name")&"</a></td>"
row=row+1
menu_rs.movenext
if row mod 2=0 then
response.Write "</tr><tr>"
end if
loop
response.Write "</tr></table>"