DataGridView - Row Selected

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What method will return which row is currently being edited in a grid?
 
I was hoping this would work:

int rowNumber;
rowNumber = scriptDataGridView.CurrentRow();
 
Thanks. By using the messagebox.show I see this returns a string with the
ndex number in curly brackets like {index=1}. Then I have to parse this I
guess?
There is no method to just get the int row number?
 

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