Example #1
0
        public List <_QuestionInfo> GetAllBBSList(string orderType, Paging page)
        {
            DataSet ds = dal.GetAllBBSList(orderType, page.StartIndex, page.EndIndex);

            page.RecordCount = ds.Tables[0].Rows[0][0].ToString().ToInt32();
            return(ModelConvertHelper <_QuestionInfo> .ConvertToList(ds.Tables[1]));
        }