private bool showRgaugeSet() { 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.Room rbll = new LearnSite.BLL.Room(); return(rbll.GetRgauge(MySgrade, MySclass)); }
protected void Buttonpreview_Click(object sender, EventArgs e) { LearnSite.BLL.Room rbll = new LearnSite.BLL.Room(); bool israuge = rbll.GetRgauge(cook.Sgrade, cook.Sclass); string Wid = Labelwid.Text; string Wfiletype = Labeltype.Text; string Wurl = Labelwurl.Text; if (Wid != "" && Wfiletype != "" && Wurl != "" && israuge) { Literal1.Text = LearnSite.Common.WordProcess.SelectEvaluateShow(Wid, Wfiletype, Wurl, false); } Buttonpreview.Visible = false; }
protected void Buttonpreview_Click(object sender, EventArgs e) { 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.Room rbll = new LearnSite.BLL.Room(); bool israuge = rbll.GetRgauge(MySgrade, MySclass); string Wid = Labelwid.Text; string Wfiletype = Labeltype.Text; string Wurl = Labelwurl.Text; if (Wid != "" && Wfiletype != "" && Wurl != "" && israuge) { Literal1.Text = LearnSite.Common.WordProcess.SelectEvaluateShow(Wid, Wfiletype, Wurl, false); } Buttonpreview.Visible = false; }
private bool showRgaugeSet() { LearnSite.BLL.Room rbll = new LearnSite.BLL.Room(); return(rbll.GetRgauge(cook.Sgrade, cook.Sclass)); }