Ejemplo n.º 1
0
    private void ShowWorksTop()
    {
        int Sgrade = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sgrade"].ToString());
        int Syear  = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Syear"].ToString());
        int Sterm  = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["ThisTerm"].ToString());

        LearnSite.BLL.Works ws = new LearnSite.BLL.Works();
        GridViewwork.DataSource = ws.ShowBestWork(Sgrade, Syear, Sterm);
        GridViewwork.DataBind();
    }
Ejemplo n.º 2
0
 private void ShowWorksTop()
 {
     LearnSite.BLL.Works ws = new LearnSite.BLL.Works();
     GridViewwork.DataSource = ws.ShowBestWork(cook.Sgrade, cook.Syear, cook.ThisTerm);
     GridViewwork.DataBind();
 }