protected void BtnSelect_Click(object sender, EventArgs e) { string Rgrade = DDLgrade.SelectedValue; string selectStr = SelectTyper(); if (Rgrade != "") { string hid = Request.Cookies[LearnSite.Common.CookieHelp.teaCookieNname].Values["Hid"].ToString(); LearnSite.BLL.Room rbll = new LearnSite.BLL.Room(); rbll.SetRtyper(Int32.Parse(Rgrade), selectStr, Int32.Parse(hid)); LearnSite.Common.WordProcess.Alert("设置成功!", this.Page); } }