AspNetPager不显示的N种可能性

1、要分页的记录总数只要一页且AlwaysShow设为false(默认);
2、Visible属性设为false;
3、未设置RecordCount值。

(补充:设置RecordCount值的方法是)
DataTable dt = new DataTable();
AspNetPager1.RecordCount = dt.Rows.Count;

原文地址:https://www.cnblogs.com/chenbg2001/p/1709473.html