private void simpleButton3_Click(object sender, EventArgs e)
 {
     hesap.HesapID     = int.Parse(txt_hesapid.Text);
     hesap.HesapNo     = txt_hesapno.Text;
     hesap.HesapSahibi = txt_hesapsahibi.Text;
     hesap.HesapIBAN   = txt_hesapiban.Text;
     hesap.HesapSKT    = txt_hesapskt.Text;
     hesap.HesapBakiye = decimal.Parse(txt_hesapbakiye.Text);
     hesap.HesapSifre  = int.Parse(txt_hesapsifre.Text);
     hesap.HesapCVV    = int.Parse(txt_hesapcvv.Text);
     hesap.HesapDetay  = txt_hesapdetay.Text;
     try
     {
         hesapislem.HesapGuncelle(hesap);
         MessageBox.Show("Hesap Başarı İle Güncellendi", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
         grd_hesaplar.DataSource = hesapislem.HesapGetir();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemple #2
0
 public void HesapGuncelle(Hesaplar hesap)
 {
     hesapislem.HesapGuncelle(hesap);
 }