示例#1
0
    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();
    }
示例#2
0
    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();
    }