/// <summary> /// 获取数据分页列表,并返回所有记录数 /// </summary> /// <param name="pageIndex"></param> /// <param name="pageSize"></param> /// <param name="totalRecords"></param> /// <param name="sqlWhere"></param> /// <param name="cmdParms"></param> /// <returns></returns> public IList <NoticeInfo> GetList(int pageIndex, int pageSize, out int totalRecords, string sqlWhere, params SqlParameter[] cmdParms) { return(dal.GetList(pageIndex, pageSize, out totalRecords, sqlWhere, cmdParms)); }
/// <summary> /// 获得数据列表 /// </summary> public DataSet GetList(string strWhere) { return(dal.GetList(strWhere)); }