How to set focus on any specified cell in DataGridView? I was expecting a simple way like Focus(rowindex,columnindex) but it is not that easy.
public void M(){ dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells[0]; dataGridView1.CurrentCell.Selected = true; dataGridView1.BeginEdit(true); }