🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2439

Re: problema coneccion a mysql

#2439
From: RobertoCL
Date: Thu, 29 Dec 2005 15:54
23 lines
1476 bytes
":: g A b R i E L ::" <nospam@nospam.org> escribi� en el mensaje 
news:43B2E8C5.9070602@nospam.org...
> Buena tarde.
>
> Estoy tratando de conectarme a mysql desde asp y no puedo, tampoco pillo 
> el error. El codigo es el siguiente:
>
> ----
>
 Dim objCon, strSQL, rsPre

 set objCon = Server.CreateObject("ADODB.Connection")
objCon.Open "dsn=fanta"
set rsPre = Server.CreateObject("ADODB.Recordset")

sqltext = "select * from usuario"
rsPre.Open sqltext,con,3,1


Asi me ense�aron :P
--
RCL
Technical Details
Message-ID: <dp10mh$atp$1@proxy.ifxnw.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news2.ifxnw.cl!not-for-mail
References: <43B2E8C5.9070602@nospam.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,22746607c403b022
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news2.ifxnw.cl!not-for-mail
From: "RobertoCL" <rcl2020NOSPAM@hotmail.com>
Newsgroups: chile.comp.programacion
Subject: Re: problema coneccion a mysql
Date: Thu, 29 Dec 2005 12:54:44 -0300
Organization: IFX Networks News Server
Lines: 28
Message-ID: <dp10mh$atp$1@proxy.ifxnw.cl>
References: <43B2E8C5.9070602@nospam.org>
NNTP-Posting-Host: 200.73.30.63
X-Trace: proxy.ifxnw.cl 1135871505 11193 200.73.30.63 (29 Dec 2005 15:51:45 GMT)
X-Complaints-To: abuse@ifxnetworks.com
NNTP-Posting-Date: Thu, 29 Dec 2005 15:51:45 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response