
I will have a form opened when i click on datagrid cell as shwon below

Now if i click on save or cancel i will close this form and i would like to select the datagridview row which i select previously


Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dorababu MekaPosted Dec 4, 2010, 12:18 AM
int currRow = 0;
currRow = dataGridView1.CurrentRow.Index;
dataGridView1.ClearSelection();
dataGridView1.Rows[currRow].Selected = true;
Suthish NairPosted Dec 3, 2010, 1:17 PM