Пример #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();
    }
Пример #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();
    }
Пример #3
0
    private void ShowFinger()
    {
        LearnSite.Model.Cook cook = new LearnSite.Model.Cook();

        LearnSite.BLL.Pfinger pbll = new LearnSite.BLL.Pfinger();
        string sestr = DDLselect.SelectedValue;

        switch (sestr)
        {
        case "1":
            GVFinger.DataSource = pbll.ShowSchoolFingerScore();
            break;

        case "2":
            GVFinger.DataSource = pbll.ShowAllFingerScore(cook.Sgrade);
            break;

        case "3":
            GVFinger.DataSource = pbll.ShowClassFingerScore(cook.Sgrade, cook.Sclass);
            break;
        }
        GVFinger.DataBind();
    }
Пример #4
0
    private void ShowFinger()
    {
        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());

        LearnSite.BLL.Pfinger pbll = new LearnSite.BLL.Pfinger();
        string sestr = DDLselect.SelectedValue;

        switch (sestr)
        {
        case "1":
            GVFinger.DataSource = pbll.ShowSchoolFingerScore();
            break;

        case "2":
            GVFinger.DataSource = pbll.ShowAllFingerScore(MySgrade);
            break;

        case "3":
            GVFinger.DataSource = pbll.ShowClassFingerScore(MySgrade, MySclass);
            break;
        }
        GVFinger.DataBind();
    }