private void simpleButton3_Click(object sender, EventArgs e)
 {
     musteri.MusteriID          = int.Parse(txt_musteriid.Text);
     musteri.MusteriTC          = txt_musteritc.Text;
     musteri.MusteriAd          = txt_musteriad.Text;
     musteri.MusteriSoyad       = txt_musterisoyad.Text;
     musteri.MusteriDogumTarihi = txt_musteridogumtarihi.Text;
     musteri.MusteriTip         = txt_musteritip.Text;
     musteri.MusteriHesapNo     = txt_musterihesapno.Text;
     musteri.MusteriTelefon     = txt_musteritelefon.Text;
     musteri.MusteriIl          = txt_musteriil.Text;
     musteri.MusteriIlce        = txt_musteriilce.Text;
     musteri.MusteriAdres       = txt_musteriadres.Text;
     try
     {
         musteriislem.MusteriGuncelle(musteri);
         MessageBox.Show("Müşteri Başarı İle Güncellendi", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Esempio n. 2
0
 public void MusteriGuncelle(Musteriler musteri)
 {
     musteriislem.MusteriGuncelle(musteri);
 }