日期:2014-05-17  浏览次数:20858 次

请问如何做到这种重复?
我只会用DREAMWEAVER做asp,
我已经建立了记录集recordset,
我只会做这种重复
表格:
1
2
3
4
5
6

请问下面这种重复怎么做?
123
456

就是先重复三个单元格记录,然后再重复行。

最好能提供代码谢谢了!

------解决方案--------------------
<table width=200 border=1>
<%
if not rs.eof then
do while net rs .eof
%>
<tr> <td> <%=rs(1)%> </td>
<%
rs.movenext
i=i+1
if i mod 3 = 0 then
response.write " </tr> "
end if
loop
%>
</tr> </table>