n 行n列的显示数据

网络整理 - 08-07
<%
rs.open sql,conn,1,1
i=1
do while not rs.eof
if i mod 3 = 1 then
response.write "<br/>"
end if
%>
<td> <img hspace=1 src=""></td>

<%

if i mod 3 =0 then ''每行三列
response.write "</tr>"
end if
rs.movenext
i = i + 1
if i = 4 then i = 1
loop
%>