Get Current row being edited

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

Guest

The code below returns a string which includes the index=X for th row being
edited. Does anyone know a way to just get an int returned of the current row
so I do not have to parse this ?

rowNumber = scriptDataGridView.CurrentRow.ToString();
//MessageBox.Show(rowNumber);

I get somehting like, "datagridview {index=1}"
 

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