How do I set the current cell programatically?
I tried the following code, but I still need to click on the cell before it is selected. Is there a way to make the a cell the selected cell?
I tried the following code, but I still need to click on the cell before it is selected. Is there a way to make the a cell the selected cell?
Code:
this.Datagridview.CurrentCell = this.Datagridview.Rows[6].Cells[1];