<%a=1 do while not rscp.eof%> ‘读取的内容<%if a mod 3=0 then response.Write"<tr></tr>" end if rscp.movenext a=a+1 loop %> 我用这段代码让每页的一行显示3个数据库的图片 可它一直循环 我想控制一个页只有3行也就是一共9个图片 请问怎么停止这个循环呢 还要能设定分页功能的
2026-12-04 22:19:20
推荐回答(1个)
回答1:
<%a=1 do while (not rscp.eof) and (a>10)%> ‘读取的内容 <%if a mod 3=0 then response.Write"