01.
private
void
dataGridView1_MouseClick(
object
sender, MouseEventArgs e)
02.
{
03.
04.
textBox1.Text = dataGridView1.SelectedRows[0].Cells[0].Value.ToString();
05.
textBox2.Text = dataGridView1.SelectedRows[0].Cells[1].Value.ToString();
06.
gender = dataGridView1.SelectedRows[0].Cells[2].Value.ToString();
07.
status = dataGridView1.SelectedRows[0].Cells[3].Value.ToString();
08.
09.
10.
}