Exemplo n.º 1
0
    private void ShowChinese()
    {
        LearnSite.Model.Cook cook = new LearnSite.Model.Cook();

        LearnSite.BLL.Pchinese pcbll = new LearnSite.BLL.Pchinese();
        string sestr = DDLselect.SelectedValue;

        GVFinger.DataSource = pcbll.ShowAllChineseApple(sestr, cook.Sgrade, cook.Sclass, cook.ThisTerm);
        GVFinger.DataBind();
    }
Exemplo n.º 2
0
    private void ShowChinese()
    {
        int MySgrade = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sgrade"].ToString());
        int MySclass = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sclass"].ToString());
        int Pterm    = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["ThisTerm"].ToString());

        LearnSite.BLL.Pchinese pcbll = new LearnSite.BLL.Pchinese();
        string sestr = DDLselect.SelectedValue;

        GVFinger.DataSource = pcbll.ShowAllChineseApple(sestr, MySgrade, MySclass, Pterm);
        GVFinger.DataBind();
    }