Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/12/2003, 12:46
Avatar de Cuezaltzin
Cuezaltzin
 
Fecha de Ingreso: diciembre-2003
Ubicación: Frente al Monitor
Mensajes: 252
Antigüedad: 21 años, 5 meses
Puntos: 0
Bueno ahi va espero ahora si explicarme bien.

Yo tengo el siguiente codigo que me muestra todos los registros de una base de datos:

<%

dim BDDD
dim table
dim SQL1

chk= Request.querystring("chk")

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 WHERE ID IN ("&chk&") "

table.ActiveConnection=BDDD
table.Open SQL1
%>

<body>

<div align="left">
<table border="0" width="339" height="371" id="AutoNumber1" cellspacing="0">
<tr>
<td width="162" height="19">&nbsp;</td>
<td width="161" height="19">&nbsp;</td>
</tr>
<tr>
<td width="162" height="83">&nbsp;</td>

<td width="161" height="86" align="center"><% Response.Write ("<img border=""0"" src="" " & table("IMG")& " "" width=""96"" height=""100"" > " )%></td>
</tr>
<tr>
<td width="162" height="22" align="right" bgcolor="#DBDBDB"><b>
<span style="font-size: 11pt">Marca</span></b></td>

<td width="161" height="22" align="center"><%=table("Marca") %></td>
</tr>
<tr>
<td width="162" height="26" align="right" bgcolor="#DBDBDB"><b>
<span style="font-size: 11pt">Características</span></b></td>
<td width="161" height="26" align="center"><%=table("Caracteristicas") %></td>
</tr>
<tr>
<td width="162" height="25" align="right" bgcolor="#DBDBDB"><b>
<span style="font-size: 11pt">Precio</span></b></td>

<td width="161" height="25" align="center"><%=table("Precio") %></td>
</tr>
<tr>
<td width="162" height="20" bgcolor="#0044B6"><font color="#FFFFFF"><b>Especificaciones</b></font></td>
<td width="161" height="20" bgcolor="#DBDBDB">&nbsp;</td>
</tr>
<tr>
<td width="162" height="28" align="right" bgcolor="#DBDBDB"><b>
<font style="font-size: 11pt">Modelo</font></b></td>
<td width="161" height="28" align="center"><%=table("Modelo") %></td>
</tr>
<tr>
<td width="162" height="25" align="right" bgcolor="#DBDBDB"><b>
<font style="font-size: 11pt">Mega píxeles</font></b></td>
<td width="161" height="25" align="center"><%=table("Megapixeles") %></td>
</tr>
<tr>
<td width="162" height="25" align="right" bgcolor="#DBDBDB"><b>
<font style="font-size: 11pt">Zoom</font></b></td>
<td width="161" height="25" align="center"><%=table("Zoom") %></td>
</tr>
<tr>
<td width="162" height="25" align="right" bgcolor="#DBDBDB"><b>
<font style="font-size: 11pt">Pantalla</font></b></td>
<td width="161" height="25" align="center"><%=table("Pantalla") %></td>
</tr>
<tr>
<td width="162" height="25">&nbsp;</td>
<td width="161" height="25">&nbsp;</td>
</tr>
</table>
</div>

</body>

</html>

Con este codigo me despliega los registro en forma vertical y yo quiero en forma horizontal como le puedo hacer.

Un ejemplo seria el que esta en la pagina:
http://pcworld.pricegrabber.com/sear...3d5fe450de0ed.
Y cuando le das en el boton de compare te muestra los registros en forma horizontal como puedo hacer eso


Por tu ayuda gracias.
__________________
Hasta la victoria Siempre.

Última edición por Cuezaltzin; 19/12/2003 a las 12:49