To scroll to the end of a DataGridView in C# and VB.NET you can use the following snippet.

Sample Vb.NET / C#

dataGridView1.FirstDisplayedCell =
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[0];

2 thought on “How to scroll to the end of a DataGridView in C# and VB.NET”

Leave a Reply