protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack)
            {
                return;
            }
            HttpCookie u_cookie = Request.Cookies["LoginOk"];
            HttpCookie r_cookie = Request.Cookies["RolesId"];

            if ((Session["LoginOk"] == null || Session["RolesId"] == null) && (u_cookie == null || r_cookie == null))
            {
                Response.Write("<script>alert('账号信息过期,请重新登入');location.href='../Login.aspx'</script>");
            }
            else
            {
                #region 权限下拉列表的绑定

                this.RolesList.DataSource     = rolesSvc.GetRolesList();
                this.RolesList.DataValueField = "Id";
                this.RolesList.DataTextField  = "Title";
                this.RolesList.DataBind();

                #endregion
            }
        }