Exemplo n.º 1
0
        void KulupListele()
        {
            List <EntityKulup> klpListe = BLLKulup.Listele();

            dataGridView1.DataSource = klpListe;
            this.Text = "Kulüp Listesi";
        }
Exemplo n.º 2
0
        void ComboKulupListele()
        {
            List <EntityKulup> klpListe = BLLKulup.Listele();

            cmbKulup.ValueMember   = "KuluplerID";
            cmbKulup.DisplayMember = "KulupAdi";
        }
Exemplo n.º 3
0
        void KulupListesi()
        {
            List <EntityKulup> KulupList = BLLKulup.LISTELE();

            cmbogrkulup.DisplayMember = "KulupAd";
            cmbogrkulup.ValueMember   = "KulupId";
            cmbogrkulup.DataSource    = KulupList;
        }
Exemplo n.º 4
0
        private void button9_Click(object sender, EventArgs e)
        {
            EntityKulup ent = new EntityKulup();

            ent.KULUPAD = txtkulupad.Text;
            BLLKulup.EKLE(ent);
            KulupListele();
        }
Exemplo n.º 5
0
        private void btnKulupSil_Click(object sender, EventArgs e)
        {
            EntityKulup entKulup = new EntityKulup();

            entKulup.KuluplerID = Convert.ToInt32(txtKulupID.Text);
            //entKulup hepsini istiyor. sadece id gondermemiz yeterli
            BLLKulup.Sil(entKulup.KuluplerID);
            KulupListele();
        }
Exemplo n.º 6
0
        private void btnKulupKaydet_Click(object sender, EventArgs e)
        {
            EntityKulup entKulup = new EntityKulup();

            entKulup.KulupAdi = txtKulupAd.Text;
            entKulup.Mevcut   = Convert.ToInt32(txtMevcut.Text);
            BLLKulup.Ekle(entKulup);
            KulupListele();
        }
Exemplo n.º 7
0
        private void button8_Click(object sender, EventArgs e)
        {
            EntityKulup ent = new EntityKulup();

            ent.KULUPID = Convert.ToInt32(txtkulupıd.Text);
            ent.KULUPAD = txtkulupad.Text;
            BLLKulup.GUNCELLE(ent);
            KulupListele();
        }
Exemplo n.º 8
0
        private void btnKulupGuncelle_Click(object sender, EventArgs e)
        {
            EntityKulup entGuncelle = new EntityKulup();

            entGuncelle.KuluplerID = Convert.ToInt32(txtKulupID.Text);
            entGuncelle.KulupAdi   = txtKulupAd.Text;
            entGuncelle.Mevcut     = Convert.ToInt32(txtMevcut.Text);
            BLLKulup.Guncelle(entGuncelle);
            MessageBox.Show("Kulüp bilgileri güncellendi");
            KulupListele();
        }
Exemplo n.º 9
0
        void KulupListele()
        {
            List <EntityKulup> KulupList = BLLKulup.LISTELE();

            dataGridView1.DataSource = KulupList;
        }