🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Connection String

#3544
From: Vassiliev V.V.
Date: Wed, 31 Jul 2002 07:06
24 lines
1596 bytes
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: <3d478d39_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!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3d475995$1_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:27:01 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d475995$1_1@dnews>
Subject: Re: Connection String
Date: Wed, 31 Jul 2002 11:06:13 +0400
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.118.129.95
Message-ID: <3d478d39_1@dnews>
X-Trace: dnews 1028099385 62.118.129.95 (31 Jul 2002 00:09: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!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews