07-10-18, 12:41 AM
جرب هذا
كود :
If DataGridView1.Rows.Count > 0 Then
DataGridView1.ClearSelection()
DataGridView1.FirstDisplayedScrollingRowIndex = 0
DataGridView1.Rows(0).Cells(0).Selected = True
End If