Example #1
0
    private void ShowSelect()
    {
        string hid    = Request.Cookies[LearnSite.Common.CookieHelp.teaCookieNname].Values["Hid"].ToString();
        string Rgrade = DDLgrade.SelectedValue;

        if (Rgrade != "")
        {
            LearnSite.BLL.Room rbll = new LearnSite.BLL.Room();
            LabelTids.Text = rbll.GetRtyper(Int32.Parse(Rgrade), Int32.Parse(hid));//要放在文章标题获取之前
        }
        LearnSite.BLL.Typer tbll = new LearnSite.BLL.Typer();
        DataListTyper.DataSource = tbll.ShowAllTitle();
        DataListTyper.DataBind();
    }
Example #2
0
    private void ShowSelect()
    {
        string hid    = tcook.Hid.ToString();
        string Rgrade = DDLgrade.SelectedValue;

        if (Rgrade != "")
        {
            LearnSite.BLL.Room rbll = new LearnSite.BLL.Room();
            LabelTids.Text = rbll.GetRtyper(Int32.Parse(Rgrade), Int32.Parse(hid));//要放在文章标题获取之前
        }
        LearnSite.BLL.Typer tbll = new LearnSite.BLL.Typer();
        DataListTyper.DataSource = tbll.ShowAllTitle();
        DataListTyper.DataBind();
    }