🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Question about DBGrid

#2819
From: Sky
Date: Mon, 24 Mar 2003 12:08
12 lines
1319 bytes
hi all,

How to retrieve which rows have been selected in TDBGrid.
I am using a TDBGrid and connect it to DataSet successfully.
I want to delete several records at the same time,
dgMultiSelect and dgRowSelect has been set true.
I can select seriate or separate records in the DBGrid at runtime.
but how can i retrieve which rows have been selected.
Any hints?
TIA

Sky
Technical Details
Message-ID: <3e7ef53b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e5547f29709a221c,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-03-24 04:12:04 PST
Reply-To: "Sky" <akeehuang@163.net>
From: "Sky" <akeehuang@163.net>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Question about DBGrid
Date: Mon, 24 Mar 2003 20:08:24 +0800
Lines: 14
Organization: CK
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: 210.14.178.250
Message-ID: <3e7ef53b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048507707 210.14.178.250 (24 Mar 2003 04:08:27 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail