Set the datagridview cell to editable mode

Madhu.b.rokkam
Posted by Madhu.b.rokkam under Windows Forms category on | Points: 40 | Views : 13331
dataGridView.Rows[rowindex].Cells[colindex].ReadOnly = false;
dataGridView.CurrentCell = dataGridView2[colindex, rowindex];
dataGridView.BeginEdit(false);


This piece of code will set the specified cell to editable mode of the specified row.

Comments or Responses

Login to post response