Como puedo mostrar los registros de mi consulta en una tabla, pero que la celda de cada registro mostrado sean de colores diferentes o mejor dico uno de un color y otro de otro color
Azul
Blanco
Azul
Blanco
y asi sucesivamente, no importando que sean pare o nones solamente que me lso muestre intercalados.. como puedo hacer esto..
Les muestro aqui mi codigo es una consulta muy sencilla..
Si necesitan algo me dicen..... Ok...Gracias
y si necesitan algun codigo por ahi no duden en preguntar Okas Gracias bye..
<html>
<head>
<title>Comparar Camaras Digitales</title>
</head>
<%
dim BDDD
dim table
dim SQL1
Set BDDD = Server.CreateObject ("ADODB.Connection")
Set table = Server.CreateObject ("ADODB.RecordSet")
BDDD.Open ("PROVIDER=Microsoft.Jet.OLEDB.4.0 ;DATA SOURCE=" + Server.MapPath(".\Produtos.mdb"))
SQL1 = "SELECT * FROM PCamarasDigitales"
table.ActiveConnection=BDDD
table.Open SQL1
%>
<body topmargin="0">
<form name="Comparar" action="comparar.asp">
<div align="left">
<table border="0" width="692" height="178" id="AutoNumber1">
<tr>
<td width="591" height="26" colspan="3">
<input type="submit" name="Submit" value="Comparar"></td>
<td width="85" height="26">
<p align="left"><b>Precio</b></td>
</tr>
<tr>
<td width="591" height="29" colspan="3">
</td>
<td width="85" height="29">
</td>
</tr>
<%
DO UNTIL table.Eof
%>
<tr>
<td width="17" height="100">
<input type="checkbox" name="chk" value="<%=table("ID") %>"></td>
<td width="111" height="100"><% Response.Write ("<img border=""0"" src="" " & table("IMG")& " "" width=""96"" height=""100"" > " )%> </td>
<td width="445" height="100" align="center"><%=table("Modelo") %>, <%=table("Caracteristicas") %>, <%=table("Megapixeles") %></td>
<td width="85" height="100"><%=table("Precio") %></td>
</tr>
<tr>
<%table.MoveNext
LOOP%>
<td width="692" height="34" colspan="4">
<input type="submit" name="Submit" value="Comparar"></td>
</tr>
</table>
</div>
</body>
</html>