Priyanka Kumari

Priyanka Kumari

  • NA
  • 88
  • 24.2k

code to set cursor in datagridview first cell in c#

Sep 20 2018 6:25 AM
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)