Article View: borland.public.cppbuilder.database.ado
Article #1770Re: Using TADOQuery.
From: Tuga
Date: Tue, 24 Feb 2004 13:51
Date: Tue, 24 Feb 2004 13:51
38 lines
2128 bytes
2128 bytes
Thanks. I've already discovered how to do it. Nuno. "Viatcheslav V. Vassiliev" <support@oledbdirect.com> escreveu na mensagem news:403b385e@newsgroups.borland.com... > The same way you place TDataSource and connect DBGrid to it. Set > TDataSource->DataSet to your TADOQuery. > > //------------------------------------------ > Regards, > Vassiliev V. V. > http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + > ADO.Net > http://www.oledbdirect.com - The fastest way to access MS SQL Server, > MS Jet (Access) and Interbase (through OLEDB) > > "Tuga" <nmp@ispgaya.pt> �������/�������� � �������� ���������: > news:403a5f1a@newsgroups.borland.com... > > Hi every1. > > I usually use BDE to access databases, but now i decided to use ADO > because > > i found ADO more powerfull. > > The problem is that i can't associate the returned resultsets from the > > TADOQuery to a DBGrid. > > With BDE all i need to do is define the DBGrid's DataSource property to > the > > correcponding TDataSource, that automaticaly DBGrid is populated. > > Any sugestions? > > > > Thanks in advance, > > Nuno. > > > > > >
Technical Details
Message-ID:
<403b56ce$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<403a5f1a@newsgroups.borland.com> <403b385e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,35eb6daf2621f816 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2004-02-24 05:52:19 PST From: "Tuga" <nmp@ispgaya.pt> Newsgroups: borland.public.cppbuilder.database.ado References: <403a5f1a@newsgroups.borland.com> <403b385e@newsgroups.borland.com> Subject: Re: Using TADOQuery. Date: Tue, 24 Feb 2004 13:51:13 -0000 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.22.154.160 Message-ID: <403b56ce$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1077630670 213.22.154.160 (24 Feb 2004 05:51:10 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail