一个循环问题,郁闷死我了,大虾救命啊!
<% dim j
j=0
do while not rs.eof %>
<TD width=140 border="0" align=center>
产品代码</TD>
<TD width=1 background=images/b3.gif></TD>
<% rs.movenext
j=j+1
if rs.eof then
exit do
end if
if j>=4 then exit do
loop
rs.close
set rs= nothing %>
</TR></TBODY></TABLE>
<% end if %>
就是这样一个循环程序,他显示的产品数是一行四个,显示一行,我要把他变成一行四个,显示两行的产品.
也可以下载程序www.gourdchina.com/4new.rar