🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADO example

#2723
From: Viatcheslav V. Vassiliev
Date: Mon, 14 Apr 2003 05:26
30 lines
2020 bytes
1. Place TADOConnection on the form.
2. Set ConnectionString property to valid connection string.
3. Set Connected = true.
4. Place TADOTable on the form.
5. Set Connection property to ADOConnection1.
6. Set TableName property.
7. Set Active property.
8. Add TDataSource and set DataSet property to ADOTable1.
9. Add TDBGrid and set DataSource property to DataSource1.

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (through OLEDB) databases.

"Rato" <patrickartaud@csi.com> �������/�������� � �������� ���������:
news:3e98557b@newsgroups.borland.com...
> Hello,
> Where could I find example about creating a table at running time and
> display it in a grid?
> I use BCB6
> I know make it with TTable etc....But I don't understand how to use TADO I
> have read the Borland book, but...
> I thank you in advance
>
> Patrick
>
>
Technical Details
Message-ID: <3e9a46cb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e98557b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,1de71d8265b16666
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-13 22:32:36 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3e98557b@newsgroups.borland.com>
Subject: Re: TADO example
Date: Mon, 14 Apr 2003 09:26:41 +0400
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.247.201.57
Message-ID: <3e9a46cb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050298059 213.247.201.57 (13 Apr 2003 22:27:39 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail