private void frmsatislar_Load(object sender, EventArgs e)
        {
            MusteriBL mbl = new MusteriBL();
            UrunBL    ubl = new UrunBL();

            int[] Satisadet = { 1, 2, 3, 4, 5 };
            cmbxadet.DataSource       = Satisadet;
            cmbxurun.DisplayMember    = "Urunadi";
            cmbxurun.ValueMember      = "UrunId";
            cmbxurun.DataSource       = ubl.UrunListesi();
            cmbxmusteri.DisplayMember = "Musteriad";
            cmbxmusteri.ValueMember   = "MusteriId";
            cmbxmusteri.DataSource    = mbl.MusteriListe();
            mbl.Dispose();
            ubl.Dispose();
        }
Beispiel #2
0
 void Listele()
 {
     urunBL = new UrunBL();
     dgvPazar.DataSource     = urunBL.UrunListesi();
     dgvUrunlerim.DataSource = urunBL.BenimUrunlerim(kullaniciId);
 }