public IList<Base_User> GetData(int maxRows, int startIndex) { this.MaxRows = maxRows; this.StartIndex = startIndex; _presenter = new UserManagePresenter(this); Filter = Session["UserManage_Realname"].ToString2(); _presenter.GetAllList(); IList<Base_User> list = this.List; return list; }
protected void DotNetCustomCalDotNetack_CustomCalDotNetack(object sender, Controls.CustomCalDotNetack.DotNetCustomCalDotNetack.CustomCalDotNetackEventArgs e) { string action = e.Parameters; string[] actarr = action.Split('_'); switch (actarr[0]) { case "del": _presenter = new UserManagePresenter(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; } }