Beispiel #1
0
        public void Doldur()
        {
            SubjectRepository konuislem = new SubjectRepository();

            GridviewPaylasimlar.DataSource = sunumislem.HepsiniGetir();
            GridviewPaylasimlar.DataBind();
        }
Beispiel #2
0
        public void Doldur1()
        {
            int id = Convert.ToInt32(Session["UserId"]);
            SubjectRepository konuislem = new SubjectRepository();

            GridviewPaylasimlar.DataSource = sunumislem.HepsiniGetir().Where(p => p.TrainerID == id).ToList();
            GridviewPaylasimlar.DataBind();
        }