Hi Ishane
Before the <TR> repeat region
do this
<%
Dim intCounter
intCounter = 1
If intCounter mod 2 = 0 Then
%>
<tr align="center" valign="top" bgcolor="blue">
<td><%=(rsListEvents.Field
<% if rsListEvents.Fields.Item("
- <%=(rsListEvents.Fields.It
<% end if %></td>
<td><%=(rsListEvents.Field
<td><%=(rsListEvents.Field
<td><%=(rsListEvents.Field
<td><%=(rsListEvents.Field
<td> </td>
</tr>
<% Else %>
<tr align="center" valign="top" bgcolor="yellow">
<td><%=(rsListEvents.Field
<% if rsListEvents.Fields.Item("
- <%=(rsListEvents.Fields.It
<% end if %></td>
<td><%=(rsListEvents.Field
<td><%=(rsListEvents.Field
<td><%=(rsListEvents.Field
<td><%=(rsListEvents.Field
<td> </td>
</tr>
<% End If %>
You can put what ever color you want...
Hope this helps you
Thanks
Bhaskar
Main Topics
Browse All Topics





by: sajuksPosted on 2006-03-02 at 21:57:55ID: 16092053
there are n number of ways to do it using css,using mod or using a simple variable.. content?tr ee=aspin/t utorial/ da tabase/dis play/table s&id=20770 10 ode.com/vb /scripts/S howCode.as p? lngWId=4 &txtCodeId =6768 odesnippet s/ alternat e_row_colo rs.asp
http://www.aspin.com/func/
http://www.planet-source-c
http://www.codefixer.com/c