明辉站/网站教程/内容

n 行n列的显示数据

网站教程2024-05-19 阅读
[摘要]<% 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=...

<%
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
%>

……

相关阅读