🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3545

Re: Connection String

#3545
From: Samuel
Date: Wed, 31 Jul 2002 22:28
34 lines
2003 bytes
May be my question is not clear. I want to know what should be the content
of the connection string. Or, any other method can make my program change
the database manually.

Samuel

"Vassiliev V.V." <news@vassilievvv.mtu-net.ru> wrote in message
news:3d478d39_1@dnews...
> You do not need DSN with ADO (if your OLEDB provider is not ODBC). You can
> change ConnectionString as
>
> ADOConnection1->Connected = false;
> ADOConnection1->ConnectionString = "NewConnectionString";
> ADOConnection1->Connected = true;
>
> Regards,
> Vassiliev V.V.
> http://www.oledbdirect.com
>
> "Samuel" <samuel@hectrix.com> ������?�������� ?�������� ��������?
> news:3d475995$1_1@dnews...
> > Hi,
> >     I have an application that my client can change his DSN / ODBC
> setting.
> > Can I use ADO to do this? As I use mODBC before but I want to change to
> ADO
> > now. Could anyone tell me how to change the connection string???
> > Thanks alot
> >
> > Samuel
> >
> >
>
>
Technical Details
Message-ID: <3d479081_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3d475995$1_1@dnews> <3d478d39_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,7d2700c30f2a7a8e
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-31 00:43:01 PST
Reply-To: "Samuel" <samuel@hectrix.com>
From: "Samuel" <samuel@hectrix.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d475995$1_1@dnews> <3d478d39_1@dnews>
Subject: Re: Connection String
Date: Wed, 31 Jul 2002 15:28:57 -0700
Lines: 36
Organization: Hectrix
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 203.80.236.62
Message-ID: <3d479081_1@dnews>
X-Trace: dnews 1028100225 203.80.236.62 (31 Jul 2002 00:23:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews