Use datagrid in C# window application

  • Thread starter Thread starter Grey
  • Start date Start date
G

Grey

How to catch the event of click each rows of the datagrid?? how to get the specify cell in the grid?

Million thanks
 
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
How to catch the event of click each rows of the datagrid?? how to get the specify cell in the grid?

Million thanks
 
Back
Top