<tablewidth = "100%" border = "0" CellPadding = "0" CellPacing = "0" CellPacing = "0">
<%dowhilenotrs.eof%>
<tr>
<tdHeight = "80"> <imgsrc = "<%= rs (" imagem ")%>" width = "160" altura = "80"> </td>
</tr>
<%i = i+1
ifi> = maxperpageTeneexitdo
rs.movenext
laço
%>
</tabela>
Os registros são organizados da seguinte forma:
1
2
3
4
5
Se eu quiser mudar o acordo de registro para
123
45
Então, como alterar o código acima, por favor me ajude
A cópia do código é a seguinte:
<tablewidth = "100%" border = "0" CellPadding = "0" CellPacing = "0" CellPacing = "0">
<%i = 0
Dowhilenotrs.eof
ifimod3 = 0then%>
<tr>
<%endif%>
<tdHeight = "80"> <imgsrc = "<%= rs (" imagem ")%>" width = "160" altura = "80"> </td>
<%
if (i+1) mod3 = 0hen
%>
</tr>
<%endif%>
<%
i = i+1
ifi> = maxperpageTeneexitdo
rs.movenext
laço
%>
</tabela>