At times we need to set focus on particular cell of DataGridView and make the cell editable. Few lines would do this, DataGridView1.ClearSelection(); DataGridView1.Focus(); DataGridView1.CurrentCell = this.DataGridViewHeader[1, 0]; //sets current cell as column 0th row DataGridView1.BeginEdit(true);
Technology & Knowledge is to Share