
30/03/2006, 08:23
|
| | Fecha de Ingreso: marzo-2004
Mensajes: 109
Antigüedad: 21 años, 1 mes Puntos: 1 | |
GetRows - omitir datos Hola
Tengo una pagina donde uso el metodo "GetRows" para mostrar registros.
En la pagina aparecen las fotos de los usuarios registrados, pero las filas que se muestran son irregulares. Algo así:
imagen imagen imagen
imagen
imagen imagen
imagen imagen imagen
El codigo es:
Sub Most(num,nombre,foto)
Set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(Server.Mappath("../usuarios/" & foto)) Then
Response.Write ("<TD valign='top'><p align='center' class='Estilo80'>" & num & "<br>")
Response.Write ("<a href=""javascript:;"" onClick=MM_openBrWindow(usuarios.asp?Numero=" & num & "','','toolbar=yes,location=yes,status=yes,menubar =yes,scrollbars=yes,resizable=yes,width=700,height =400')><img src='../usuarios/" & foto & "' width='90' height='100' border='0'></A><br>")
Response.Write ("<strong>" & nombre & "</strong>")
else
Response.Write ""
End if
Response.Write ("</td>")
End Sub
Supongo q eso pasa, por q hay algunos usuario registrados que no tienen foto. ¿Como hago para q se muestren las filas bien:
imagen imagen imagen
imagen imagen imagen
imagen imagen imagen
He probado usar en vez de
Response.Write "" - move.next.
Pero me sale error q "no coinciden los tipos..."
__________________ Gracias |