3
Answers

code to set cursor in datagridview first cell in c#

dataGridView1.Rows.Add();
dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells[1];
dataGridView1.CurrentCell.Selected = true;
dataGridView1.BeginEdit(true);
 
I have tried above code,now how i will set cursor on my first cell.
 
Plz help me out 
Answers (3)