Sunday, July 09, 2006

To Change current cell in DataGridView..

this.myDGV.CurrentCell = this.myDGV.Rows[0].Cells[1];

This will automatically highlight the row as well - at least if you have MultiSelect set to false and SelectionMode to FullRowSelect

No comments: