[Controls] [vb.net] DataGridView 첫 번째로 표시되는 행 스크롤 인덱스(FirstDisplayedScrollingRowI…
하나를하더라도최선을
2020-06-17 11:25
5,127
0
본문
i = DataGridView1.DataSource.Rows.IndexOf(R)
DataGridView1.ClearSelection()
DataGridView1.Rows(i).Selected = True
DataGridView1.FirstDisplayedScrollingRowIndex = i
DataGridView1.Refresh()
여기서 R은 DataRow 입니다.
댓글목록0