
26/02/2003, 22:28
|
 | | | Fecha de Ingreso: diciembre-2001
Mensajes: 5.286
Antigüedad: 23 años, 4 meses Puntos: 1 | |
no no no.
Tu pon tal cual esto:
gsConnect = " Driver={MySQL};SERVER=localhost;DATABASE=I;UID=ra;
PASSWORD=b"
Set GobjConnect = server.createobject("ADODB.Connection")
GobjConnect.open gsConnect
gsSQL = "SELECT * FROM Auctions"
set objPagingRS= gsConnect.execute(gsSQL)
if not objPagingRS.eof and not objPagingRS.bof then
response.write objPagingRS("Province")
end if
o esto
gsConnect = " Driver={MySQL};SERVER=localhost;DATABASE=I;UID=ra;
PASSWORD=b"
Set GobjConnect = server.createobject("ADODB.Connection")
GobjConnect.open gsConnect
Set objPagingRS = Server.CreateObject("ADODB.Recordset")
gsSQL = "SELECT * FROM Auctions"
objPagingRS.Open gsSQL,GobjConnect,3,3
if not objPagingRS.eof and not objPagingRS.bof then
response.write objPagingRS("Province")
end if
Tu codigo anterior SOLO TE VA A REGRESAR UN REGISTRO pues no tienes un ciclo que recorra los registros.
No modifiques nada has xopy & paste, por que cuando lo intentas modificar te falta modificar algo o le pones algo de mas |