private void shownew() { int Cterm = Int32.Parse(LearnSite.Common.XmlHelp.GetTerm()); string Cnum = cook.Snum; int Cgrade = cook.Sgrade; int Chid = cook.Rhid; LearnSite.BLL.Courses cs = new LearnSite.BLL.Courses(); GridViewnewkc.DataSource = cs.ShowNewCourseNew(Cgrade, Cterm, Chid, LabelCids.Text); GridViewnewkc.DataBind(); }
private void shownew() { int Cterm = Int32.Parse(LearnSite.Common.XmlHelp.GetTerm()); string Cnum = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Snum"].ToString(); int Cgrade = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sgrade"].ToString()); int Chid = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Rhid"].ToString()); LearnSite.BLL.Courses cs = new LearnSite.BLL.Courses(); GridViewnewkc.DataSource = cs.ShowNewCourseNew(Cgrade, Cterm, Chid, LabelCids.Text); GridViewnewkc.DataBind(); }