<tableWidth = "100%" border = "0" cellPadding = "0" CellPacing = "0" CellPacing = "0">
<%dowhilenotrs.eof%>
<tr>
<tdheight = "80"> <imgsrc = "<%= rs (" imagen ")%>" width = "160" altura = "80"> </td>
</tr>
<%i = i+1
ifi> = maxperpagetheneExitdo
Rs.Movenext
bucle
%>
</table>
Los registros se organizan de la siguiente manera:
1
2
3
4
5
Si quiero cambiar el acuerdo de registro a
123
45
Entonces, cómo cambiar el código anterior, por favor ayúdame
La copia del código es la siguiente:
<tableWidth = "100%" border = "0" cellPadding = "0" CellPacing = "0" CellPacing = "0">
<%i = 0
dowhilenotrs.eof
ifimod3 = 0then%>
<tr>
<%endif%>
<tdheight = "80"> <imgsrc = "<%= rs (" imagen ")%>" width = "160" altura = "80"> </td>
<%
if (i+1) mod3 = 0then
%>
</tr>
<%endif%>
<%
i = i+1
ifi> = maxperpagetheneExitdo
Rs.Movenext
bucle
%>
</table>