示例#1
0
    private void showattitude()
    {
        LearnSite.Model.Cook cook = new LearnSite.Model.Cook();

        Labeltitle.Text = cook.Sgrade.ToString() + "年级" + cook.Sclass.ToString() + "班本学期学习表现积分排行";
        LearnSite.BLL.Students sbll = new LearnSite.BLL.Students();
        GridViewclass.DataSource = sbll.GetListSattitude(cook.Syear, cook.Sgrade, cook.Sclass);
        GridViewclass.DataBind();
    }
示例#2
0
    private void showattitude()
    {
        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 Syear  = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Syear"].ToString());

        Labeltitle.Text = Sgrade.ToString() + "年级" + Sclass.ToString() + "班本学期学习表现积分排行";
        LearnSite.BLL.Students sbll = new LearnSite.BLL.Students();
        GridViewclass.DataSource = sbll.GetListSattitude(Syear, Sgrade, Sclass);
        GridViewclass.DataBind();
    }