Esempio n. 1
0
 public OkulEditForm()
 {
     InitializeComponent();
     dataLayoutControl = myDataLayoutControl;
     bll      = new OkulBLL(myDataLayoutControl);
     kartTuru = KartTuru.Okul;
     EventsLoad();
 }
      private void frmOgrenciListele_Load(object sender, EventArgs e)
      {
          OgrenciBL obl = new OgrenciBL();

          dt = obl.OgrenciTable();
          dgvOgrListele.DataSource = dt;
          obl.Dispose();
          OkulBLL okl = new OkulBLL();

          clmOkul.DataSource    = okl.OkulListesi();
          clmOkul.DisplayMember = "Okul_Ad";
          clmOkul.ValueMember   = "Okul_Id";

          BolumBL bol = new BolumBL();

          clmBolum.DataSource    = bol.BolumListesi();
          clmBolum.DisplayMember = "BolumAd";
          clmBolum.ValueMember   = "BolumId";
      }
        private void frmOgrKayit_Load(object sender, EventArgs e)
        {
            OdaBL ob = new OdaBL();

            cmb_Oda.DataSource    = ob.OdaListesi();
            cmb_Oda.DisplayMember = "Oda_No";
            cmb_Oda.ValueMember   = "Oda_Id";

            OkulBLL ok = new OkulBLL();

            cmb_OklAdi.DisplayMember = "Okul_Ad";
            cmb_OklAdi.ValueMember   = "Okul_Id";
            cmb_OklAdi.DataSource    = ok.OkulListesi();

            BolumBL bol = new BolumBL();

            cmb_Bolum.DataSource    = bol.BolumListesi();
            cmb_Bolum.DisplayMember = "BolumAd";
            cmb_Bolum.ValueMember   = "BolumId";
        }
Esempio n. 4
0
 public OkulListForm()
 {
     InitializeComponent();
     bll = new OkulBLL();
 }