private void button_araba_guncelle_Click(object sender, EventArgs e)
        {
            Araba nesne = new Araba()
            {
                ArabaID           = (comboBox_araba_ID.SelectedIndex != -1) ? Convert.ToInt32(comboBox_araba_ID.Text) : 1,
                Araba_Marka       = textBox_araba_marka.Text,
                Araba_Model       = textBox_araba_model.Text,
                Araba_RenkID      = Convert.ToInt32(textBox_araba_renkID.Text),
                Araba_VitesTuruID = Convert.ToInt32(textBox_araba_vtID.Text),
                Araba_YakitTuruID = Convert.ToInt32(textBox_araba_ytID.Text),
            };

            DB_Guncelle dbIslem = new DB_Guncelle();
            bool        result  = dbIslem.ArabaGuncelle(nesne);

            SonucGoster(result);
        }
        private void button_ilan_guncelle_Click(object sender, EventArgs e)
        {
            Ilan ilan = new Ilan()
            {
                IlanID       = (comboBox_ilanID.SelectedIndex != -1) ? Convert.ToInt32(comboBox_ilanID.Text) : 1,
                Ilan_SehirID = Convert.ToInt32(textBox_ilan_sehirID.Text),
                Ilan_ArabaID = Convert.ToInt32(textBox_ilan_arabaID.Text),
                Ilan_Adi     = textBox_ilan_ad.Text,
                Ilan_Fiyat   = Convert.ToDouble(textBox_ilan_fiyat.Text),
                Ilan_Km      = Convert.ToDouble(textBox_ilan_km.Text),
                Ilan_Tarih   = Convert.ToDateTime(textBox_ilan_tarih.Text),
            };

            DB_Guncelle dbIslem = new DB_Guncelle();
            bool        result  = dbIslem.IlanGuncelle(ilan);

            SonucGoster(result);
        }