devo mettere su 3 colonne dei dati.
vi metto uno screenshot della pagina che mi esce e vi posto il codice.
fatemi sapere qualcosa.
<tr>
<td height="177" colspan="3" valign="top"><table width="600" border="0" cellpadding="0" cellspacing="0" summary="Stampanti....">
<% while not objRS2.eof %>
<tr>
<td> <% response.Write "STAMPANTI " & objRS2("serie") & "
"%></td>
</tr>
<tr>
<%
dim nomest, strelcitta, strelcittaconta
nomest= objRS2("serie")
strelcitta="SELECT modello FROM products where serie='"&nomest&"'"
'strelcittaconta="SELECT count(city) FROM query_citta where nomestato='"&nomest&"'"
elcitta.Open strelcitta, objConn, adlockoptimistic, adcmdtable
rowcount3=0
do while not elcitta.eof %>
<td width="33%"> <font color="#FF0000">»</font> " title="Cartucce <%=elcitta("modello")%>" ><%=nomest%> - <%=elcitta("modello")%></td>
<% rowcount3=rowcount3+1
if rowcount3=3 then
rowcount3=0
response.Write"</tr><tr>"
end if
elcitta.MoveNext
loop
objRS2.Movenext
elcitta.Close %></tr><tr>
<td width="100%"><hr></td>
</tr>
<% wend %>
</table></td>
</tr>

Rispondi quotando
