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.GetRchinese(Int32.Parse(Rgrade), Int32.Parse(hid));//要放在文章标题获取之前 } LearnSite.BLL.Chinese cbll = new LearnSite.BLL.Chinese(); DataListTyper.DataSource = cbll.GetListTitle(); DataListTyper.DataBind(); }
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.GetRchinese(Int32.Parse(Rgrade), Int32.Parse(hid));//要放在文章标题获取之前 } LearnSite.BLL.Chinese cbll = new LearnSite.BLL.Chinese(); DataListTyper.DataSource = cbll.GetListTitle(); DataListTyper.DataBind(); }