Newsgroup: it.comp.www.asp
Titolo: Aiuto per tabella

Ho un grosso problema.Ho un db che contiene le ferie e i permessi dei miei utenti
cosi' composto: 
- nome 
- cognome 
- tipo (permesso o ferie) 
- giorno inizio, mese inizio, anno inizio 
- giornmo fine, mese fine, anno fine 
Devo creare una tabella cosě composta 
Nomi utenti 123456789....31 
Esempio 
Nome 1 2 3 4 5 6 7 8 9 10.......31 
Luca F P 
Mary F F 
Dove F = spazio colorato x ferie 
E P=spazio colorato x permessi 
ecco il codice 
<!--#INCLUDE FILE="../adovbs.inc"--> 
<% 
idanagr = session("idanagr") 
mese = request.querystring("mese") 
anno = year(date()) 
if session("password") <> "ok" then response.redirect("negato.htm") 
set dbMain = server.createobject("ADODB.Connection") 
dbMain.open "ghagenda" 
Set nome = Server.CreateObject("ADODB.Recordset") 
anoSQL = "SELECT * FROM anagraf WHERE cstr(id) LIKE '"& idanagr &"' " 
nome.open anoSQL, dbMain, adopenstatic, adlockpessimistic, adcmdtext 
referente = nome("nome")&" "& nome("cognome") 
Set rsanagraf = Server.CreateObject("ADODB.Recordset") 
anSQL = "SELECT * FROM anagraf WHERE referente LIKE '"& referente &"'" 
rsanagraf.open anSQL, dbMain, adopenstatic, adlockpessimistic, adcmdtext 
%> 
<html> 
<head> 
<title>Untitled Document</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
</head> 
<body background="banda1.gif"> 
<div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>
<%if mese= "1" then %> 
Gennaio&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "2" then %> 
Febbraio&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "3" then %> 
Marzo&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "4" then %> 
Aprile&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "5" then %> 
Maggio&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "6" then %> 
Giugno&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "7" then %> 
Luglio&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "8" then %> 
Agosto&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "9" then %> 
Settembre&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "10" then %> 
Ottobre&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "11" then %> 
Novembre&nbsp;<%=anno%> 
<%end if%> 
<%if mese= "12" then %> 
Dicembre&nbsp;<%=anno%> 
<%end if%> 
<br> 
<br> 
</b> </font> </div> 
<table border="1" bordercolor="#3A6EA5" width="50%"> 
<tr> 
<td bgcolor="#3A6EA5" nowrap width="7%"> 
<p align="center"><font face="Verdana" size="1" color="#FFFFFF">Nome</font></p>
</td> 
<td bgcolor="#3A6EA5" nowrap width="2%"> 
<p align="center"><font face="Verdana" size="1" color="#FFFFFF">01</font></p> 
</td> 
<td bgcolor="#3A6EA5" width="2%"> 
<p align="center"><font face="Verdana" size="1" color="#FFFFFF">02</font></p> 
</td> 
<td bgcolor="#3A6EA5" nowrap width="2%"> 
<p align="center"><font face="Verdana" size="1" color="#FFFFFF">03</font></p> 
</td> 
<td bgcolor="#3A6EA5" nowrap width="2%"> 
<p align="center"><font face="Verdana" size="1" color="#FFFFFF">04</font></p> 
</td> 
<td bgcolor="#3A6EA5" nowrap width="1%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">05</font></td> 
<td bgcolor="#3A6EA5" nowrap width="3%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">06</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">07</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">08</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">09</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">10</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">11</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">12</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">13</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">14</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">15</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">16</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">17</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">18</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">19</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">20</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">21</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">22</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">23</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">24</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">25</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">26</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">27</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">28</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">29</font></td> 
<td bgcolor="#3A6EA5" nowrap width="2%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">30</font></td> 
<td bgcolor="#3A6EA5" nowrap width="33%"><font face="Verdana, Arial, Helvetica,
sans-serif" size="1" color="#FFFFFF">31</font></td> 
</tr> 
<%do while not rsanagraf.eof %> 
<%nome = rsanagraf("nome")&" "&rsanagraf("cognome") 
idute = rsanagraf("id")%> 
<br> 
<tr> 
<td nowrap width="7%"><font face="Verdana" size="1"> 
<p align="center"> <%=nome%> 
<% 
Set ferie = Server.CreateObject("ADODB.Recordset") 
feSQL = "SELECT * FROM ferie WHERE idute LIKE '"& idute &"' AND status = 'consentito'
AND mini LIKE '" & mese &"' AND aini LIKE '"& anno &"' ORDER BY gini" 
ferie.open feSQL, dbMain, adopenstatic, adlockpessimistic, adcmdtext 
count=ferie.recordcount 
if count <> 0 then 
do while not ferie.eof 
tipo = ferie("tiporichiesta") 
permesso = ferie("gini") 
fine = ferie("gfine") 
mini = ferie("mini") 
mfine = ferie("mfine")%></font></td> 
<% if tipo = "Permesso" AND permesso = "1" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "1" AND fine = "1" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "1" AND fine <> "1" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "2" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "2" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "2" AND fine = "2" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "2" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "2" AND fine <> "2" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "3" 
else 
if tipo = "Ferie" AND conta = "2" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "3" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "3" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "3" AND fine = "3" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "3" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "3" AND fine <> "3" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "4" 
else 
if tipo = "Ferie" AND conta = "3" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "4" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "4" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "4" AND fine = "4" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "4" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "4" AND fine <> "4" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "5" 
else 
if tipo = "Ferie" AND conta = "4" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "5" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "5" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "5" AND fine = "5" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "5" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "5" AND fine <> "5" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "6" 
else 
if tipo = "Ferie" AND conta = "5" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "6" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "6" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "6" AND fine = "6" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "6" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "6" AND fine <> "6" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "7" 
else 
if tipo = "Ferie" AND conta = "7" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "8" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "7" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "7" AND fine = "7" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "7" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "7" AND fine <> "7" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "8" 
else 
if tipo = "Ferie" AND conta = "7" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "8" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "8" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "8" AND fine = "8" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "8" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "8" AND fine <> "8" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "9" 
else 
if tipo = "Ferie" AND conta = "8" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "9" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "9" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "9" AND fine = "9" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "9" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "9" AND fine <> "9" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "10" 
else 
if tipo = "Ferie" AND conta = "9" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "10" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "10" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "11" AND fine = "11" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "10" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "11" AND fine <> "11" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "12" 
else 
if tipo = "Ferie" AND conta = "11" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "12" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "12" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "12" AND fine = "12" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "12" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "12" AND fine <> "12" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "13" 
else 
if tipo = "Ferie" AND conta = "12" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "13" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "13" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "13" AND fine = "13" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "13" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "13" AND fine <> "13" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "14" 
else 
if tipo = "Ferie" AND conta = "13" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "14" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "14" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "14" AND fine = "14" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "14" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "14" AND fine <> "14" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "15" 
else 
if tipo = "Ferie" AND conta = "14" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "15" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "15" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "15" AND fine = "15" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "15" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "15" AND fine <> "15" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "16" 
else 
if tipo = "Ferie" AND conta = "15" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "16" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "16" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "16" AND fine = "16" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "16" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "16" AND fine <> "16" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "17" 
else 
if tipo = "Ferie" AND conta = "16" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "17" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "17" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "17" AND fine = "17" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "17" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "17" AND fine <> "17" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "18" 
else 
if tipo = "Ferie" AND conta = "17" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "18" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "18" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "18" AND fine = "18" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "18" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "18" AND fine <> "18" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "19" 
else 
if tipo = "Ferie" AND conta = "18" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "19" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
<% if tipo = "Permesso" AND permesso = "19" then 
response.write("<td bgcolor=#FF,99,33>") 
else 
if tipo = "Ferie" AND permesso = "19" AND fine = "19" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND fine = "19" then 
response.write("<td bgcolor=#7B,B2,CE>") 
else 
if tipo = "Ferie" AND permesso = "19" AND fine <> "19" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "20" 
else 
if tipo = "Ferie" AND conta = "19" then 
response.write("<td bgcolor=#7B,B2,CE>") 
conta = "20" 
else 
response.write("<td bgcolor=#FF,FF,FF>") 
end if 
end if 
end if 
end if 
end if 
%> 
</tr> 
<% ferie.movenext 
loop 
ferie.close %> 
<% end if 
rsanagraf.movenext 
loop 
rsanagraf.close 
%> 
</table> 
<p><font face="Verdana" size="1" color="#3A6EA5"><b>LEGENDA:</b></font><br> 
</p> 
<table width="15%" border="0"> 
<tr> 
<td bgcolor="#7BB2CE" width="10">&nbsp;</td> 
<td><font face="Verdana" size="1" color="#3A6EA5"><b>=Ferie</b></font></td> 
</tr> 
<tr> 
<td bgcolor="#FF9933">&nbsp;</td> 
<td><font face="Verdana" size="1" color="#3A6EA5"><b>=Permessi</b></font></td>
</tr> 
</table> 
<p> <br> 
</p> 
</body> 
</html> 
--
Enjoy the .NET community! ASPItalia.com
 
http://forum.aspitalia.com/
 
http://www.aspitalia.com/

 ecco il codice
Sono 20 KB di codice!!! 8)
Che problemi ci sono? Quali errori ottieni? Qual č la sezione che crea
problemi?
Ciao
-- 
AZ [Microsoft .NET MVP]
.NET Community: 
http://www.aspitalia.com/
Il mio blog: 
http://blogs.aspitalia.com/az/
Microsoft MVP: 
http://italy.mvps.org/
Sito personale: 
http://ciclismo.sitiasp.it/

Innanzitutto, visto che una bella parte è ripetitiva, cambiando alcuni
indici, io farei un ciclo for, cha aggiorna le variabili o gli indici che ti
servono giro per giro.
Diventa leggibile e più modificabile.