Jose.
La primera opcion:
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
Me marca este error:
Microsoft VBScript runtime error '800a01a8'
Object required: ' Driver={MySQL};SERV'
/basura/prueba1.asp, line 17
esa linea es
set objPagingRS= gsConnect.execute(gsSQL)
La segunda opcion:
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")
response.write objPagingRS("ItemID")
end if
Siiii corre y hala un dato, nada mas uno, el primero de la tabla.
Heredia20
Ahora, mi pregunta es.
Por que esta corre y la anterior no?
Por ke esta hala la info y otras opciones no halan nada?
Ahhh, y muchas gracias Jose y Baka por la ayuda!