市长热线演示版

Proc_Pagination.cs 946B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Data;
  6. namespace HySoft.BaseCallCenter.BLL
  7. {
  8. public class Proc_Pagination
  9. {
  10. private readonly HySoft.BaseCallCenter.DAL.Proc_Pagination dal = new HySoft.BaseCallCenter.DAL.Proc_Pagination();
  11. public Proc_Pagination()
  12. { }
  13. /// <summary>
  14. /// 分页获取数据
  15. /// </summary>
  16. /// <param name="PageSize"></param>
  17. /// <param name="PageIndex"></param>
  18. /// <param name="strWhere"></param>
  19. /// <returns></returns>
  20. public DataTable GetListPager(string viewtable, string viewKey, string searchField, string sortStr, string WhereStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
  21. {
  22. return dal.GetListPager(viewtable, viewKey, searchField, sortStr,WhereStr, PageSize, PageIndex, IsCount, out RecordCount);
  23. }
  24. }
  25. }