Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/03/2005, 04:30
Avatar de trasgukabi
trasgukabi
 
Fecha de Ingreso: septiembre-2004
Mensajes: 2.749
Antigüedad: 19 años, 8 meses
Puntos: 18
Código:
response.write ("<table><tr>")
contador=0
Do While Not Rs.EOF
    contador=contador+1
    if contador=5 then 'si ha sacado 4 registros, pasa a siguiente línea
       response.write("</tr><tr>")
       contador=0
    end if
    Response.Write("<td>"&Rs(nombre)&","&Rs("precio")&"</td>")
    Rs.MoveNext
Loop
response.write ("</tr></table>")

Última edición por trasgukabi; 04/04/2005 a las 19:21