n 行n列的显示数据

发表于:2007-06-30来源:作者:点击数: 标签:
<%
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
%>


原文转自:http://www.ltesting.net