Datagridview autoscroll

hadinatayp

Well-known member
Joined
Feb 8, 2006
Messages
95
Programming Experience
Beginner
how to make the datagridview scroll automatically to show the last item added?

(i design my datagridview only to display 3 items, when i added the forth, i can't see it, so how to make the control to scroll down automatically so that i can see the forth one.)

Thx.
 
VB.NET:
DataGridView1.FirstDisplayedCell = DataGridView1.Item(0, DataGridView1.RowCount - 1)
 
Back
Top