Ejemplo n.º 1
0
        public string GetListPage(int pageIndex, int pageSize, out int total)
        {
            StringBuilder sb   = new StringBuilder();
            List <T_File> list = bll.GetListByPage(pageIndex, pageSize, out total);

            if (list.Count > 0)
            {
                foreach (var model in list)
                {
                    sb.AppendFormat("<li><a href='fileDetail.aspx?fileid={0}' target='_blank' title=''>{1}</a><span>{2}</span></li>", model.FileId, model.FileSummary, model.FileTime);
                }
            }
            return(sb.ToString());
        }