public ActionResult AdminUserList(UserListModel model) { var pagedList = _userService.SearchAdminUsers(model.PageIndex, model.PageS...
分类:
Web程序 时间:
2014-08-18 23:27:13
阅读次数:
410
第一次写博客 写的不好各位大神多多包涵。 我的分页主要是针对Linq 分页来写的,针对IEnumerable 和 IQueryable 类型数据分页。 开始上代码 创建接口:public interface IPagedList { /// /// 总记录...
分类:
Web程序 时间:
2014-07-11 20:35:49
阅读次数:
282
方法-:1,在Service中使用pagedlist实现翻页的方法写法一: /// ///政策法规的more列表翻页 /// /// 分页的页码 /// 部门代码 /// public PagedList Li...
分类:
Web程序 时间:
2014-06-28 13:06:47
阅读次数:
345
@model PagedList@using Webdiyer.WebControls.Mvc @Html.ActionLink("基础维护", "", "") - @Html.ActionLink("特色互动", "") @Html.AntiForgeryToken() @Html...
分类:
Web程序 时间:
2014-06-27 21:55:13
阅读次数:
257
接上一篇瀑布流代码,简洁版的功能之上添加分页的功能Index.cshtml@using
PagedList.Mvc@model PagedList.StaticPagedList@{ ViewBag.Title = "瀑布流"; Layout =
"~/Views/Sha...
分类:
其他好文 时间:
2014-06-12 11:24:31
阅读次数:
330
using System;using System.Collections.Generic;using
System.Linq;using System.Web;using System.Web.Mvc;namespace
PagedList.MVCWeb.Controllers{ publi...
分类:
Web程序 时间:
2014-06-09 18:30:04
阅读次数:
280
UCJqOrderList @model
PagedList订单编号订单日期顾客编号收货地址@foreach(Order od in Model) {
@od.OrderID@od.OrderDate.ToString()@od.CustomerID @od.Ship...
分类:
Web程序 时间:
2014-05-26 20:07:21
阅读次数:
397
public ActionResult Index(int? pageIndex) { List
data = new List(); for (int i = 0; i pagedList = new PagedList(data.As...
分类:
Web程序 时间:
2014-05-26 19:52:39
阅读次数:
279