예제 #1
0
    private void list()
    {
        int syear  = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Syear"].ToString());
        int sgrade = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sgrade"].ToString());
        int sclass = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sclass"].ToString());
        int sterm  = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["ThisTerm"].ToString());

        LearnSite.BLL.Research rbll = new LearnSite.BLL.Research();
        GVresearch.DataSource = rbll.GetClassList(syear, sgrade, sclass, sterm);
        GVresearch.DataBind();
    }
예제 #2
0
 private void list()
 {
     LearnSite.BLL.Research rbll = new LearnSite.BLL.Research();
     GVresearch.DataSource = rbll.GetClassList(cook.Syear, cook.Sgrade, cook.Sclass, cook.ThisTerm);
     GVresearch.DataBind();
 }