Beispiel #1
0
    /// <summary>
    /// 未启用
    /// </summary>
    private void showTidtyper()
    {
        string Tid = LTid.Text;

        if (Tid != "" && LearnSite.Common.WordProcess.IsNum(Tid))
        {
            LearnSite.BLL.Ptyper pt = new LearnSite.BLL.Ptyper();
            GVTyper.DataSource = pt.ShowTypeScore(Int32.Parse(Tid));
            GVTyper.DataBind();
        }
    }
Beispiel #2
0
    private void showtyper()
    {
        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.Ptyper pt = new LearnSite.BLL.Ptyper();
        GVTyper.DataSource = pt.ShowClassTypeScore(Sgrade, Sclass);
        GVTyper.DataBind();

        string Tid = LTid.Text;
        string url = "~/Student/typerclass.aspx?Tid=" + Tid;

        HyperLink2.NavigateUrl = url;
    }
Beispiel #3
0
    private void showtyper()
    {
        int Sgrade = cook.Sgrade;
        int Sclass = cook.Sclass;

        LearnSite.BLL.Ptyper pt = new LearnSite.BLL.Ptyper();
        GVTyper.DataSource = pt.ShowClassTypeScore(Sgrade, Sclass);
        GVTyper.DataBind();

        string Tid = LTid.Text;
        string url = "~/Student/typerclass.aspx?Tid=" + Tid;

        HyperLink2.NavigateUrl = url;
    }
 private void showtyper()
 {
     if (!string.IsNullOrEmpty(Request.QueryString["Tid"]))
     {
         int    Ptid   = Int32.Parse(Request.QueryString["Tid"].ToString());
         string sgrade = DDLgrade.SelectedValue;
         string sclass = DDLclass.SelectedValue;
         if (!string.IsNullOrEmpty(sgrade) && !string.IsNullOrEmpty(sclass))
         {
             LearnSite.BLL.Ptyper pbll = new LearnSite.BLL.Ptyper();
             GVTyper.DataSource = pbll.ShowClassTidScore(Int32.Parse(sgrade), Int32.Parse(sclass), Ptid);
             GVTyper.DataBind();
         }
     }
 }
Beispiel #5
0
    private void ShowTyper()
    {
        LearnSite.Model.Cook cook = new LearnSite.Model.Cook();

        LearnSite.BLL.Ptyper pr = new LearnSite.BLL.Ptyper();
        string sestr            = DDLselect.SelectedValue;

        switch (sestr)
        {
        case "1":
            GVTyper.DataSource = pr.ShowSchoolTypeScore();
            break;

        case "2":
            GVTyper.DataSource = pr.ShowAllTypeScore(cook.Sgrade);
            break;

        case "3":
            GVTyper.DataSource = pr.ShowClassTypeScore(cook.Sgrade, cook.Sclass);
            break;
        }
        GVTyper.DataBind();
    }
    private void ShowTyper()
    {
        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.Ptyper pr = new LearnSite.BLL.Ptyper();
        string sestr            = DDLselect.SelectedValue;

        switch (sestr)
        {
        case "1":
            GVTyper.DataSource = pr.ShowSchoolTypeScore();
            break;

        case "2":
            GVTyper.DataSource = pr.ShowAllTypeScore(MySgrade);
            break;

        case "3":
            GVTyper.DataSource = pr.ShowClassTypeScore(MySgrade, MySclass);
            break;
        }
        GVTyper.DataBind();
    }