2007-06-26

Control the scroll bar of DataGridView

Actually, control the CurrentCell position instead of scroll bar
P.S CurrentRow property is READONLY, so we have to use CurrentCell
 
EX.
DataGridView1.CurrentCell = DataGridView1.Item([ColumnIndex], [RowIndex])

沒有留言:

張貼留言