Esempio n. 1
0
    private void ShowSoft()
    {
        LearnSite.Model.Cook cook = new LearnSite.Model.Cook();

        LearnSite.BLL.Soft st = new LearnSite.BLL.Soft();
        int yid = 0;

        if (Request.QueryString["Yid"] != null)
        {
            yid = Int32.Parse(Request.QueryString["Yid"].ToString());
        }
        GVSoft.DataSource = st.GetShowSoftList(cook.Rhid.ToString(), yid);
        GVSoft.DataBind();
    }
Esempio n. 2
0
    private void ShowList()
    {
        LearnSite.BLL.Soft st   = new LearnSite.BLL.Soft();
        string             fyid = LabelFyid.Text;

        if (!string.IsNullOrEmpty(fyid))
        {
            int yid = Int32.Parse(fyid);
            GVSoft.DataSource = st.GetShowSoftList(cook.Rhid.ToString(), yid);
            GVSoft.DataBind();
            LearnSite.BLL.SoftCategory ybll = new LearnSite.BLL.SoftCategory();
            GVSoft.HeaderRow.Cells[0].Text = ybll.GetTitle(yid);
        }
    }
Esempio n. 3
0
    private void ShowList()
    {
        string Rhid = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Rhid"].ToString();

        LearnSite.BLL.Soft st   = new LearnSite.BLL.Soft();
        string             fyid = LabelFyid.Text;

        if (!string.IsNullOrEmpty(fyid))
        {
            int yid = Int32.Parse(fyid);
            GVSoft.DataSource = st.GetShowSoftList(Rhid, yid);
            GVSoft.DataBind();
            LearnSite.BLL.SoftCategory ybll = new LearnSite.BLL.SoftCategory();
            GVSoft.HeaderRow.Cells[0].Text = ybll.GetTitle(yid);
        }
    }
Esempio n. 4
0
    private void ShowSoft()
    {
        string mygrade = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sgrade"].ToString();
        string myclass = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sclass"].ToString();
        string Rhid    = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Rhid"].ToString();

        LearnSite.BLL.Soft st = new LearnSite.BLL.Soft();
        int yid = 1;

        if (Request.QueryString["Yid"] != null)
        {
            yid = Int32.Parse(Request.QueryString["Yid"].ToString());
        }
        GVSoft.DataSource = st.GetShowSoftList(Rhid, yid);
        GVSoft.DataBind();
    }