天天看点

AspNetPager重写分页按钮的链接

AspNetPager1.EnableUrlRewriting = true;

AspNetPager1.UrlRewritePattern = "{0}.html";

其中{0}为页数.