Article View: borland.public.cppbuilder.database.ado
Article #2534Re: ADODataSet browsing
From: booker
Date: Mon, 19 May 2003 19:01
Date: Mon, 19 May 2003 19:01
31 lines
1719 bytes
1719 bytes
Dataset->Close();
Dataset->CommandText="select column1,column2 from tbl_some";
Dataset->Open();
Dataset->First();
for(int i=0;i<Dataset->RecordCount;i++)
{
ShowMessage(Dataset->FieldByName("column1")->AsString);
ShowMessage(Dataset->FieldByName("column2")->AsIntegger);
Dataset->Next();
}
got that?
"Fabien Brissonneau" <fabien@eixa6.com> д���ʼ�
news:3ec77698@newsgroups.borland.com...
> Hello,
>
> I am evaluating C++Builder6, and I want to browse a ADODataSet.
> Can someone says to me what is the good method. Is it a movenext/current
> solution ?
>
> Thanks for any advice.
>
> --
> Fabien Brissonneau
> Consultant
> fabien@eixa6.com
> www.eixa6.com
>
>
Technical Details
Message-ID:
<3ec929f0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ec77698@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,39ca1f942131ec29 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-05-19 12:10:48 PST From: "booker" <diablohsh@163.net> Newsgroups: borland.public.cppbuilder.database.ado References: <3ec77698@newsgroups.borland.com> Subject: Re: ADODataSet browsing Date: Tue, 20 May 2003 03:01:12 +0800 Lines: 33 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: 210.21.34.181 Message-ID: <3ec929f0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053370864 210.21.34.181 (19 May 2003 12:01:04 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail