> Pls Help me
>
[quoted text clipped - 12 lines]
>
> thanks in advance
Hi,
Couldn't really get my head around your problem, but it sounds like you
want to click a cell and pass the value somewhere else.
I would use the mouseup event of the DataGridView. I would use the
MouseEventArgs to see if it was double clicked then and the X and Y
co-ords with a DataGridView.HitTest to find out the value in the cell
that was clicked.
If there is an easier way them I don't know it.
HTH,
Chris
Ahmd - 12 Jun 2007 11:07 GMT
On Jun 12, 1:49 pm, Chris Diver <clubbingch...@hotmail.nospam.com>
wrote:
> > Pls Help me
>
[quoted text clipped - 29 lines]
>
> - Show quoted text -
Thank u for ur response mr. chris
C, to be more precise
i have datagridview in one form(mainform) , Columns: -
Itemcode,Itemname and command button
when i click on the command button of the cell, it will show another
form which has a datagridview of Itemcode and name listed . from this
form when i double click any of the item, i want to close this form
and pass itemcode,itemname to the main form datagridview same row
where i have clicked command button
thanks in advance.