Hi,
I have a DataGridView(Dgv1), which only will show 5 rows on the Screen.
I have 10 records that I wanna put on that DataGridView.
Then, I want to select the last row :
Dgv1.Rows(Dgv1.RowCount - 1).Selected = True
But then, when I started the program. The Vertical ScrollBar didn't go to where the row was selected.
Please help me, How to make the Vertical ScrollBar follow ur Selected Index in DataGridView programmaticaly..
Thanks in Advance.
Regards,
Nb. Please forgive my bad english
I have a DataGridView(Dgv1), which only will show 5 rows on the Screen.
I have 10 records that I wanna put on that DataGridView.
Then, I want to select the last row :
Dgv1.Rows(Dgv1.RowCount - 1).Selected = True
But then, when I started the program. The Vertical ScrollBar didn't go to where the row was selected.
Please help me, How to make the Vertical ScrollBar follow ur Selected Index in DataGridView programmaticaly..
Thanks in Advance.
Regards,
Nb. Please forgive my bad english