Example #1
0
 /// <summary>
 /// Page_Load
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Request["id"] != null)
     {
         Model          = ___ROYcms_Admin_bll.GetModel(Convert.ToInt32(Request["id"]));
         Model.password = ROYcms.Common.DESEncrypt.Decrypt(Model.password);
     }
     //绑定数据
     ROYcms.UI.Admin.Administrator.AdminMap.index Index = new AdminMap.index();
     Repeater_admin.DataSource = Index.BLL.GetAllList();
     Repeater_admin.DataBind();
 }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ViewState["Id"] = Request["Id"];
                //ViewState["ClassId"] = Request["ClassId"];
                //ViewState["ClassKind"] = Request["ClassKind"];

                SysAdminBind();

                Repeater_Objet.DataSource = new ROYcms.Sys.BLL.ROYcms_Objet().GetAllList();
                Repeater_Objet.DataBind();
                //绑定数据
                ROYcms.UI.Admin.Administrator.AdminMap.index Index = new AdminMap.index();
                Repeater_admin.DataSource = Index.BLL.GetAllList();
                Repeater_admin.DataBind();
            }
        }