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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top