int i ; i=dataGridView1.SelectedCells[0].RowIndex; label1.Text = dataGridView1.Rows[i].Cells[0].Values.ToString(); label2.Text = dataGridView1.Rows[i].Cells[1].Values.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)