Untitled

mail@pastecode.io avatar
unknown
csharp
4 years ago
1.3 kB
7
Indexable
Never
private void lsv_UyeListesi_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            int _ID = int.Parse(lsv_UyeListesi.SelectedItems[0].SubItems[0].Text);
            txt_ID.Text = Convert.ToString(_ID);
            int _UyeNo = int.Parse(lsv_UyeListesi.SelectedItems[0].SubItems[1].Text);
            txt_UyeNo.Text = Convert.ToString(_UyeNo);
            txt_Ad.Text = lsv_UyeListesi.SelectedItems[0].SubItems[2].Text;
            txt_Soyad.Text = lsv_UyeListesi.SelectedItems[0].SubItems[3].Text;
            txt_TcNo.Text = lsv_UyeListesi.SelectedItems[0].SubItems[4].Text;
            cmb_Cinsiyet.SelectedItem = lsv_UyeListesi.SelectedItems[0].SubItems[5].Text;
            txt_Gsm.Text = lsv_UyeListesi.SelectedItems[0].SubItems[6].Text;
            dtp_DogumTarihi.Text = lsv_UyeListesi.SelectedItems[0].SubItems[7].Text;
            cmb_Meslek.SelectedItem = lsv_UyeListesi.SelectedItems[0].SubItems[8].Text;
            txt_Ilce.Text = lsv_UyeListesi.SelectedItems[0].SubItems[9].Text;
            txt_Sehir.Text = lsv_UyeListesi.SelectedItems[0].SubItems[10].Text;
            txt_Email.Text = lsv_UyeListesi.SelectedItems[0].SubItems[11].Text;
            cmb_MedeniHali.SelectedItem = lsv_UyeListesi.SelectedItems[0].SubItems[12].Text;
            
        }