Display row number in DataGridView

G

Guest

Hi,
is it possible to display the Row number in the in the row selection column
in a DataGridView (this is the "column" before your first column...when you
click on it, it highlights the entire row).

also, i have put code in the SelectedIndexChange event of the DataGrid view
to display the current row out along with the total number of rows. but this
behaves weird, if i click around, sometimes the number displayed does not
match the display order of the row.

thanks for any feedback
 

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

Top