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(); }
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(); }