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.
the problem with datagridview is that it select the first row automatically so you want to clear the selection by
grvPackingList.ClearSelection(); dataGridView1.Rows[rowindex].Cells[columnindex].Selected = true;
other wise it will not work