protected void Page_Load(object sender, EventArgs e) { if (Request["show"] != null) { hideEditLinkClsName = "hide"; } if (!IsPostBack) { if (!string.IsNullOrEmpty(Request["oneid"])) { oneid = Request["oneid"]; hidOneID.Value = oneid; List <SYS_USERROLE> lst = BLLTable <SYS_USERROLE> .Factory(conn).Select(SYS_USERROLE.Attribute.USER_ID, oneid); if (lst.Count > 0) { for (int i = 0; i < lst.Count; i++) { mulids += mulids == "" ? lst[i].ROLE_ID.ToString() : "," + lst[i].ROLE_ID; } } } if (!string.IsNullOrEmpty(Request["mulids"])) { if (mulids != "") { mulids += ","; } mulids += Request["mulids"]; } hidMulIDS.Value = mulids; if (mulids != "") { condObj.In(SYS_ROLE.Attribute.ROLE_ID, mulids); BindList(condObj); } } }