示例#1
0
        /// <summary>
        /// 生成bootstrap分页
        /// </summary>
        /// <param name="helper"></param>
        /// <param name="page"></param>
        /// <param name="pagecount"></param>
        /// <param name="url"></param>
        /// <returns></returns>
        public static MvcHtmlString BootstrapPaging(this System.Web.Mvc.HtmlHelper helper,
                                                    int page, int pagecount, string url)
        {
            var html = PagerHelper.GetPagerHtml(page, pagecount, url);

            return(MvcHtmlString.Create(html));
        }