protected void ShfaqKurset()
 {
     //Shfaq te gjitha kurset e vlefshme
     BLL.Studenti s = new BLL.Studenti();
     ListGridView.DataSource = s.GetAllKursetForStudenti(Convert.ToInt32(Session["UserID"]));
     ListGridView.DataBind();
 }
 protected void SearchButton_Click(object sender, EventArgs e)
 {
     //Shfaq te gjitha kurset e vlefshme ne baze te emrit
     BLL.Studenti s = new BLL.Studenti();
     ListGridView.DataSource = s.GetAllKursetByEmriKursit(SearchTextBox.Text);
     ListGridView.DataBind();
 }
Exemple #3
0
        private void ShowKerkesat()
        {
            ProfesoriMapper pm = new ProfesoriMapper();

            ListGridView.DataSource = pm.ShowKerkesat(Convert.ToInt32(Session["UserID"]));
            ListGridView.DataBind();
        }
Exemple #4
0
 protected void Kurset_List()
 {
     //Shfaq requests qe ka bere studenti
     BLL.Studenti s = new BLL.Studenti();
     ListGridView.DataSource = s.GetRequestsForStudenti(Convert.ToInt32(Session["UserID"]));
     ListGridView.DataBind();
 }
Exemple #5
0
        private void placeShenimet()
        {
            List <Objekti>  lb = new List <Objekti>();
            ObjektetMappers bm = new ObjektetMappers(lb);

            bm.SelectAllObjektet();
            ListGridView.DataSource = lb;
            ListGridView.DataBind();
        }
Exemple #6
0
        private void placeShenimet()
        {
            List <Vendori> lv = new List <Vendori>();
            VendoretMapper vm = new VendoretMapper(lv);

            vm.SelectAllVendori();
            ListGridView.DataSource = lv;
            ListGridView.DataBind();
        }
Exemple #7
0
        private void placeShenimet()
        {
            List <Punetori> lp = new List <Punetori>();
            PunetoretMapper bm = new PunetoretMapper(lp);

            bm.SelectAllPunetoret();
            ListGridView.DataSource = lp;
            ListGridView.DataBind();
        }
Exemple #8
0
        private void placeShenimet()
        {
            List <Grupi>  lb = new List <Grupi>();
            GrupetMappers bm = new GrupetMappers(lb);

            bm.SelectAllGrupet();
            ListGridView.DataSource = lb;
            ListGridView.DataBind();
        }
Exemple #9
0
        private void placeShenimet()
        {
            List <Klienti> lk = new List <Klienti>();
            KlientetMapper km = new KlientetMapper(lk);

            km.SelectAllKlients();
            ListGridView.DataSource = lk;
            ListGridView.DataBind();
        }
Exemple #10
0
        private void placeShenimet()
        {
            List <BLL.LlojiHapsires> lb = new List <BLL.LlojiHapsires>();
            LloiHapsiraveMappers     bm = new LloiHapsiraveMappers(lb);

            bm.SelectAllLlojiHapsirave();
            ListGridView.DataSource = lb;
            ListGridView.DataBind();
        }
Exemple #11
0
        public void placeShenimet()
        {
            Index form = (Index)Context.Handler;
            int   ID   = form.SelectedID;

            Session.Add("ID", form.SelectedID);
            ViewState["SelectedID"] = ID;
            List <Produkti>  ex = new List <Produkti>();
            ProduktetMappers em = new ProduktetMappers(ex);

            em.SelectedID(ID);

            ListGridView.DataSource = ex;
            ListGridView.DataBind();
        }
Exemple #12
0
        protected void ListGridView_SelectedIndexChanged(object sender, EventArgs e)
        {
            ListGridView.DataSource = null;
            ListGridView.DataBind();

            String selectedValue = FilterKerkimiDropDown.SelectedValue;

            if (selectedValue.Equals("Te gjitha"))
            {
                ShowKerkesat();
                return;
            }

            ProfesoriMapper pm = new ProfesoriMapper();

            ListGridView.DataSource = pm.ShowKerkesatPerKurs(Convert.ToInt32(Session["UserID"]), selectedValue);
            ListGridView.DataBind();
        }
Exemple #13
0
 public void postData()
 {
     ListGridView.DataSource = new AdministratoriMapper().getRequests();
     ListGridView.DataBind();
 }
 private void placeShenimet()
 {
     ListGridView.DataSource = new AdministratoriMapper().getRequestsByProfesoriKursi(Int32.Parse(Session["ProfesoriKursiID"].ToString()));
     ListGridView.DataBind();
 }