Winform datagrid Question

  • Thread starter Thread starter Phil Barber
  • Start date Start date
P

Phil Barber

What event fires when a user move from one row to the next?
and How do extract the data in that row?
Thanks.
Phil.
 
I believe you're looking for the CurrentCellChanged event. To get data in
the cell, just use the CurrentCell property which returns a DataGridCell
object which contains the column and row numbers you would need to retrieve
any information you want.

Hope this helps,
Jacob
 

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