Colorare Tabelle






<table width="80%" border="1" class="w3-table w3-striped w3-bordered w3-border w3-hoverable" >

<h2>Tabella Soci Attivi</h2>
' <!------------------- T I T O L O TABELLA -------------------------- -->


<tr bgcolor="#CCCCCC" align="left">

<td width="10%"><span class="Bold" >Numero Socio</span></td>
</tr>

<%
dim i
i = 0

do while not rs.eof
NumeroSocio = rs("NumeroSocio")
%>
' <!-------------------------------------------------------- -->

<% if I = 0 then
i = 1
%>

<tr bgcolor="#FFFFFF" align="left">

<%
else
I = 0

%>
<tr bgcolor="#CCCCCC" align="left">

<% End If %>

' <!-------------------------------------------------------- -->


<td><span class="Bold"><%=NumeroSocio%></span></td>
</tr>

<%

rs.movenext

loop

rs.close

cn.close
set cn = nothing

%>


</table>










( coloraretabelle.html )- by Paolo Puglisi - Modifica del 17/12/2023