ciao a tutti.
ho una tabella dove visualizzo 3 record su una riga.
Adesso vorrei trasformarla in una tabella con 6 record su 2 righe (3 per ogni riga)
come modifico questo codice?
<%
Dim Repeat2__numRows
Dim Repeat2__index
Repeat2__numRows = 3
Repeat2__index = 0
stream_numRows = stream_numRows + Repeat2__numRows
%>
<table width="400" border="0" cellspacing="0" style="border-collapse: collapse; border: 1px solid #0073aa; padding: 0">
<tr>
<td width="29" rowspan="3" valign="top">[img]images/videogallery.gif[/img]</td>
<td width="367" bgcolor="#FFFFFF" class="menu"><div align="right"><font color="#0073aa">Foto
e video in esclusiva</font></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100" border="0" align="center">
<tr>
<% While ((Repeat2__numRows <> 0) AND (NOT stream.EOF)) %>
<td valign="top" class="notizie">
<div align="center"><a href="#" onClick="apripopup7(<%=(stream.Fields.Item("idvide o").Value)%>)">[img]images/<% =(stream.Fields.Item([/img]" width="100" hspace="10" border="1" align="baseline" />
<%=(stream.Fields.Item("titolo").Value)%></a>
</div></td>
<%
Repeat2__index=Repeat2__index+1
Repeat2__numRows=Repeat2__numRows-1
stream.MoveNext()
Wend
%>
</tr>
</table></td>
</tr>
</table>

Rispondi quotando