コード例 #1
0
        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;
        }
コード例 #2
0
 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;
     }
 }