codice:
<%
' Creo i colori per le righe alternate
newline=true
strsql = "SELECT distinct str_giornata FROM tb_Calendari WHERE str_stagione=2 ORDER BY str_giornata"
objRs.Open strsql, objConn
do while not objRs.eof
if newline=true then
Response.Write "<table width=""555"" cellpadding=""0"" cellspacing=""0"" border=""1"">"&vbCrlf
Response.Write "<tr>"&vbCrlf
newline=false
else
newline=true
end if
Response.Write "<td width=""50%"">"&vbCrlf
Response.Write " STAMPO QUELLO CHE MI SERVE"
Response.Write "</td>"&vbCrlf
if newline=true then
Response.Write "</tr>"&vbCrlf
Response.Write "</table>"&vbCrlf
end if
objRs.MoveNext
Loop
Response.Write "</table>"&vbCrlf
Set objRs = Nothing
%>
In questo modo mi crea una tabella con due colonne ma se volessi ottenere tre colonne come devo fare?
Mi serve per impaginare un calendario in modo da mettere su ogni riga tre giornate di campionato.