🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Question about DBGrid

#2824
From: Vladimir Afanasyev
Date: Tue, 25 Mar 2003 08:35
18 lines
1438 bytes
Hi,

"Sky" <akeehuang@163.net> wrote:
>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?

See help for TCustomDBGrid::SelectedRows and example in the 
help.

Vladimir.
Technical Details
Message-ID: <3e8014cc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e7ef53b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e5547f29709a221c
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-03-25 00:40:03 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: Question about DBGrid
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 62.244.14.114 62.244.14.114    
X-Forwarded-For: 192.168.0.147
References:  <3e7ef53b$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e8014cc$1@newsgroups.borland.com>
Date: 25 Mar 2003 00:35:24 -0800
X-Trace: newsgroups.borland.com 1048581324 207.105.83.65 (25 Mar 2003 00:35:24 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail