private void ShowKc() { int Cterm = Int32.Parse(LearnSite.Common.XmlHelp.GetTerm()); string Cnum = Request.Cookies["StudentCookies"].Values["Snum"].ToString(); int Cgrade = Int32.Parse(Request.Cookies["StudentCookies"].Values["Sgrade"].ToString()); LearnSite.BLL.Courses cs = new LearnSite.BLL.Courses(); GridViewnewkc.DataSource = cs.ShowNewCourse(Cnum, Cgrade, Cterm); GridViewnewkc.DataBind(); GridViewnewkc.AllowPaging = true; GridViewdonekc.DataSource = cs.ShowDoneCourse(Cnum); GridViewdonekc.DataBind(); GridViewdonekc.AllowPaging = true; }