public IList<Cms_Article> GetData(int maxRows, int startIndex) { this.MaxRows = maxRows; this.StartIndex = startIndex; _presenter = new ArticleListPresenter(this); // Filter = Session["UserManage_Realname"].ToString2(); _presenter.GetAllList(); IList<Cms_Article> 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 ArticleListPresenter(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; } }