نکته شماره 51 :

 

txtname.Text = dataGridView1.CurrentRow.Cells["name"].Value.ToString();
                    txthamrah.Text = dataGridView1.CurrentRow.Cells["hamrah"].Value.ToString();