Board index » delphi » How to get selectedrows from dbgrid

How to get selectedrows from dbgrid

How to get selected rows from dbgrid?
i use mulit select dbgrid and don't know how to get selected rows.
i know there's a property named 'selectedrows' but don't know how
to use it.

can anyone help me?

thanks in advance.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum

 

Re:How to get selectedrows from dbgrid


Hi all,
I've answered to the same question on www.experts-exchange.com delphi
section some days ago.
I think the answer is still present.
May there's something faster and more elegant than the code I've written
but in a waak nobody could suggest anything else.
burzox @tin.it
Quote
skykil...@my-dejanews.com wrote:
> How to get selected rows from dbgrid?
> i use mulit select dbgrid and don't know how to get selected rows.
> i know there's a property named 'selectedrows' but don't know how
> to use it.

> can anyone help me?

> thanks in advance.

> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum

Other Threads