public IList<Base_Role> GetData(int maxRows, int startIndex)
        {
            this.MaxRows = maxRows;
            this.StartIndex = startIndex;

            _presenter = new RoleManagePresenter(this);
            _presenter.GetAllList();
            IList<Base_Role> list = this.List;
            return list;
        }
        public IList<Base_Role> GetData(int maxRows, int startIndex)
        {
            this.MaxRows = maxRows;
            this.StartIndex = startIndex;

            _presenter = new RoleManagePresenter(this);
            Filter = Session["RoleManage_Rolename"].ToString2();
            _presenter.GetAllList();
            IList<Base_Role> list = this.List;
            return list;
        }
        protected void DotNetCustomCalDotNetack_CustomCalDotNetack(object sender, Controls.CustomCalDotNetack.DotNetCustomCalDotNetack.CustomCalDotNetackEventArgs e)
        {
            //string result = e.Parameters;
            string action = e.Parameters;
            string[] actarr = action.Split('_');
            switch (actarr[0])
            {
                case "del":
                    _presenter = new RoleManagePresenter(this);
                    bool result = Delete(actarr[1]);
                    CalDotNetack.CalDotNetackResult.Result = result.ToString();
                    CalDotNetack.CalDotNetackResult.IsRefresh = result;
                    break;
                case "edit":
                    CalDotNetack.CalDotNetackResult.Result = "true";
                    break;
                case "search":
                    DataSearch();
                    break;

                //default:
                //    CalDotNetack.CalDotNetackResult = actarr[0] + "???" + actarr[1];
                //    break;
            }
        }