public void Bind()
        {
            var val = Guid.Parse(this.ddlRoles.SelectedValue);

            var data = upSvc.GetUsersPermissionsesByRolesId(val);

            this.RepHad.DataSource = data;
            this.RepHad.DataBind();
            string idList = "";

            foreach (var item in data)
            {
                idList += "'" + item.UsersPermissions_SystemMenuId.ToString() + "',";
            }

            if (data.Count > 0)
            {
                var menus = smSvc.GetSystemMenusesByIdList(idList.Substring(0, idList.Length - 1));
                this.RepNoHad.DataSource = menus;
                this.RepNoHad.DataBind();
            }
            else
            {
                var menus = smSvc.GetAll();
                this.RepNoHad.DataSource = menus;
                this.RepNoHad.DataBind();
            }
        }