Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.roleID   = this.Request.QueryString["RoleID"].ToInt32();
            this.systemID = this.Request.QueryString["SystemID"].ToInt32();

            if (!this.IsPostBack)
            {
                RoleModel        model = userManager.ReadRole(this.roleID);
                List <IDataItem> list  = model.ToDataItem();
                this.SetControlValue(list);

                SystemModel      model2 = userManager.ReadSystem(this.systemID);
                List <IDataItem> list2  = model2.ToDataItem();
                this.SetControlValue(list2);

                this.searchData(0);
            }
        }