private void Btn_kayitDuzenle_Click(object sender, EventArgs e) { BusinessLogicLayer.BLL bLL = new BusinessLogicLayer.BLL(); int ReturnValue = bLL.SatisKaydiDuzenle(Convert.ToInt32(numUpD_d_ULC.Value), Convert.ToInt32(combo_d_isim.SelectedValue), Convert.ToInt32(numUpD_d_kamera.Value), Convert.ToInt32(numUpD_d_nvr.Value), Convert.ToInt32(numUpD_d_videoDuvar.Value), Convert.ToInt32(numUpD_d_isistasyonu.Value), Convert.ToInt32(numUpD_d_klavye.Value), dateTime_d_tarih.Value, txt_d_lisanskodu.Text, txt_d_donanimid.Text, txt_d_aciklama.Text); if (ReturnValue > 0) { MessageBox.Show("Kayıt düzenlendi.", "Bilgilendirme", MessageBoxButtons.OK, MessageBoxIcon.Information); yenile(); } else { MessageBox.Show("Hatali giriş", "Hata", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }