Article View: borland.public.cppbuilder.database.ado
Article #5441How to update TDBGrid item ?
From: Guy
Date: Sat, 05 May 2001 15:14
Date: Sat, 05 May 2001 15:14
22 lines
1645 bytes
1645 bytes
Hi,
I'm using ADO and I wanted to know:
1. How can I update TDBGrid item after an "update" command has Occured while
running.
Exampale:
ADOQuery1->SQL->Clear();
ADOQuery1->SQL->Add("select Id from employee
where Dprt_Id = 20");
ADOQuery1->Open();
2. Where is the output of a "select" command go's, how can I view it . How
can I connect it to a TDBGrid item.
Exampale:
ADOQuery1->SQL->Add("insert into
Department");
ADOQuery1->SQL->Add("(Dprt_Id)");
ADOQuery1->SQL->Add("values (80)");
ADOQuery1->ExecSQL();
Thanks, Guy
Technical Details
Message-ID:
<3af40ac4_1@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,cc43abed796b911b,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-05-05 07:38:37 PST Reply-To: "Guy" <guy_kariv@hotmail.com> From: "Guy" <guy_kariv@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: How to update TDBGrid item ? Date: Sat, 5 May 2001 17:14:56 +0200 Lines: 25 Organization: Student X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 213.8.237.47 Message-ID: <3af40ac4_1@dnews> X-Trace: dnews 989072068 213.8.237.47 (5 May 2001 07:14:28 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews