示例#1
0
    private void showGroup()
    {
        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());

        LearnSite.BLL.Students sbll = new LearnSite.BLL.Students();
        GVgroup.DataSource = sbll.ClassGroup(sgrade, sclass);
        GVgroup.DataBind();
    }
示例#2
0
    private void showGroup()
    {
        int sgrade = cook.Sgrade;
        int sclass = cook.Sclass;

        LearnSite.BLL.Students sbll = new LearnSite.BLL.Students();
        GVgroup.DataSource = sbll.ClassGroup(sgrade, sclass);
        GVgroup.DataBind();
    }