![]() ![]() Private Sub DataGridView1_CellPainting(sender As Object, e As DataGridViewCellPaintingEventArgs) Handles DataGridView1.CellPainting Still result in sequential row numbering (it is not clear if that is the desired behavior). This assumes that changing row order (via a sort for example) should Assuming an unbound datagrid where the row header number is for display purposes only, you can draw it dynamically and not worry about associating the number with a particular row. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |