Display row number in DataGridView

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dimension

    Display row number in DataGridView

    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 SelectedIndexCh ange 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
Working...