Alternating colors in table
Folks, I need a little assistance. I've done this in the past but I can't remember how to do it. When I did a Google search for it, I was giving more complicated examples which I don't need because I already have the below.
What I want is for the ASP to change the <td bgcolor> when ever the rs("LOCATION") changes.
Can anyone help?
===================
<%do until rs.EOF%>
<td><%response.write rs("LOCATION")%></td>
<td><%response.write rs("NAME")%></td>
<td><%response.write rs("NUMBER")%></td>
<%rs.MoveNext
loop
rs.close
conn.close%>
|