Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Use datagrid in C# window application

0 views
Skip to first unread message

Grey

unread,
Mar 11, 2004, 4:44:15 AM3/11/04
to
How to catch the event of click each rows of the datagrid?? how to get the specify cell in the grid?
 
Million thanks

Branimir Giurov

unread,
Mar 11, 2004, 5:15:38 AM3/11/04
to
Use the Click event to catch the click.
 
Something like:
 
if ( datagrid1.CurrentCell.ColumnNumber == 1 && datagrid.RowNumber == 1 )
{
    //do your thing :)
}
 
Good luck
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA, MCT
eAgility LLC

Lasse Edsvik

unread,
Mar 11, 2004, 7:34:57 AM3/11/04
to
0 new messages