Ejemplo n.º 1
0
        private void btn_guncelle_Click(object sender, EventArgs e)
        {
            int donendeger = bll.UyeDuzenle(UyeID, txt_uyeadi.Text, txt_uyesoyadi.Text, dateTime_dogumtarihi.Value, txt_telefon.Text, txt_email.Text, txt_adres.Text);

            if (donendeger > 0)
            {
                MessageBox.Show("Üye Güncellendi!", "Bilgilendirme", MessageBoxButtons.OK, MessageBoxIcon.Information);
                ListeGoster();
                KiralamaGoster();
            }
            else
            {
                MessageBox.Show("Üye Değiştirilemedi!", "Uyarı!", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }