특정 Row 까지 스크롤 하기
100번째 Row까지 스크롤
C#
dataGridView1.CurrentCell = dataGridView1.Rows[100].Cells[0];
dataGridView1.FirstDisplayedCell = this.dataGridView1.CurrentCell;
VB .NET
dataGridView1.CurrentCell = dataGridView1.Rows(100).Cells(0)
dataGridView1.FirstDisplayedCell = this.dataGridView1.CurrentCell
마지막 Row 까지 스크롤 하기
C#
dataGridView1.CurrentCell = dataGridView1.Rows[dataGridView1.RowCount].Cells[0];
dataGridView1.FirstDisplayedCell = this.dataGridView1.CurrentCell;
VB .NET
dataGridView1.CurrentCell = dataGridView1.Rows(dataGridView1.RowCount).Cells(0)
dataGridView1.FirstDisplayedCell = this.dataGridView1.CurrentCell
'Programming > C#' 카테고리의 다른 글
상속 받은 객체 생성시 부모 생성자 이용하기 (0) | 2017.03.31 |
---|---|
Serial 통신중 Close 호출시 Hang (0) | 2017.02.28 |
Web Service 에서 테스트 폼은 로컬 컴퓨터의 요청에만 사용할 수 있습니다. (0) | 2014.04.04 |
C# 으로 만드는 음성인식/TTS 프로그램 (0) | 2013.10.01 |
Eazfuscator.NET Obfuscator (0) | 2011.08.08 |