Page @ (Model. PageCount & lt; Model. The PageNumber? 0: Model. The PageNumber) of @ Model. PageCount
@ Model. Each page PageSize records, a total of @ Model. The PageCount page, the first @ Model. The PageNumber page
@ Html. PagedListPager (Model, page=& gt; Url. The Action (" Index ", new {page}))
Always prompt @ Html. PagedListPager error, at the front page also added a @ using PagedList. Mvc;
Could you tell me how to cause, is how to solve, thank you
CodePudding user response:
So what is your model typeCodePudding user response:
In this method, you should do not have in the extension?There should be a extension similar
Public static MvcHtmlString PagedListPager (this HtmlHelper helper, IPagedList pagedList);
CodePudding user response: