Пример #1
0
 private void btnguncelle_Click(object sender, EventArgs e)
 {
     if (txtyazarno.Text.Length > 0 & txtad.Text.Length > 0)
     {
         clsYazarIslem y = new clsYazarIslem();
         y.zAd           = txtad.Text;
         y.zNo           = txtyazarno.Text;
         y.zOtobiyografi = txtotobiyografi.Text;
         y.zSoyad        = txtsoyad.Text;
         y.guncelle();
         MessageBox.Show(y.zDgr);
         datagrdDoldur();
         btnyeni_Click(sender, e);
     }
     else
     {
         MessageBox.Show("Yazar Nosunu Kontrol Edip Tekrar Deneyin");
     }
 }