Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         // ChkAdminLevel("manager_list", MXEnums.ActionEnum.View.ToString()); //检查权限
         int rid = MyCommFun.RequestInt("rid");
         Cms.BLL.wx_requestRule   rbll = new Cms.BLL.wx_requestRule();
         Cms.Model.wx_requestRule rule = rbll.GetModel(rid);
         this.lblKeyWords.Text  = MyCommFun.SubStrAddSuffix(rule.reqKeywords, 10, "...");
         hlAddTuWen.NavigateUrl = "editTuWen.aspx?rid=" + rid + "&action=" + Enums.ActionEnum.Add;
         RptBind();
     }
 }