明輝手游網(wǎng)中心:是一個(gè)免費(fèi)提供流行視頻軟件教程、在線學(xué)習(xí)分享的學(xué)習(xí)平臺(tái)!

n 行n列的顯示數(shù)據(jù)

[摘要]<% 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
%>