예제 #1
0
        /// <summary>
        /// 信息查询-为前台显示列表
        /// </summary>
        /// <returns></returns>
        public virtual DataView InfoForFrontStageList(
            string SelectType, //查询类型
            string Criteria,
            ref long CurrentPage,
            long PageRows,
            out long PageCount)
        {
            long lgPageCount = 0;

            DataView dv = null;

            switch (SelectType)
            {
            case "InfoLatest":     //查询最新的信息
                dv = dal.GetInfoListForFrontView(
                    Criteria,
                    ref CurrentPage,
                    PageRows,
                    ref lgPageCount);
                break;

            default:
                break;
            }
            PageCount = lgPageCount;

            return(dv);
        }