private void frmPersonelGorevTanimi_Load(object sender, EventArgs e)
        {
            TrGenel    = SqlConnections.GetBaglanti().BeginTransaction();
            GorevTanim = new clsTablolar.Personel.csPersonelGorevTanim(SqlConnections.GetBaglanti(), TrGenel);
            TrGenel.Commit();

            gcGorev.DataSource = GorevTanim.dt_PersonelGorev;
        }
 private void frmPersonelKarti_Load(object sender, EventArgs e)
 {
     try
     {
         Personel          = new clsTablolar.Personel.csPersonel(SqlConnections.GetBaglanti(), _PersonelID);
         PersonelGorevleri = new clsTablolar.Personel.csPersonelGorevIliski(SqlConnections.GetBaglanti(), _PersonelID);
         tr_genel          = SqlConnections.GetBaglanti().BeginTransaction();
         GorevTanimlari    = new clsTablolar.Personel.csPersonelGorevTanim(SqlConnections.GetBaglanti(), tr_genel);
         GorevleriYukle();
         BinleHamisina();
         tr_genel.Commit();
     }
     catch (Exception)
     {
         tr_genel.Rollback();
         MessageBox.Show("hata oldu hamisina");
     }
 }