Untitled
unknown
csharp
4 years ago
1.3 kB
9
Indexable
private void dgv_UyeListesi_MouseDoubleClick(object sender, MouseEventArgs e) { txt_ID.Text = dgv_UyeListesi.CurrentRow.Cells[0].Value.ToString(); //int _ID = int.Parse(dgv_UyeListesi.CurrentRow.Cells[0].Value.ToString()); //txt_ID.Text = Convert.ToString(_ID); txt_UyeNo.Text = dgv_UyeListesi.CurrentRow.Cells[1].Value.ToString(); txt_Ad.Text = dgv_UyeListesi.CurrentRow.Cells[2].Value.ToString(); txt_Soyad.Text = dgv_UyeListesi.CurrentRow.Cells[3].Value.ToString(); txt_TcNo.Text = dgv_UyeListesi.CurrentRow.Cells[4].Value.ToString(); cmb_Cinsiyet.Text = dgv_UyeListesi.CurrentRow.Cells[5].Value.ToString(); txt_Gsm.Text = dgv_UyeListesi.CurrentRow.Cells[6].Value.ToString(); dtp_DogumTarihi.Text = dgv_UyeListesi.CurrentRow.Cells[7].Value.ToString(); cmb_Meslek.Text = dgv_UyeListesi.CurrentRow.Cells[8].Value.ToString(); txt_Ilce.Text = dgv_UyeListesi.CurrentRow.Cells[9].Value.ToString(); txt_Sehir.Text = dgv_UyeListesi.CurrentRow.Cells[10].Value.ToString(); txt_Email.Text = dgv_UyeListesi.CurrentRow.Cells[11].Value.ToString(); cmb_MedeniHali.Text = dgv_UyeListesi.CurrentRow.Cells[12].Value.ToString(); }
Editor is loading...