1、要分页的记录总数只有一页且AlwaysShow设为false(默认);
2、Visible属性设为false;
3、未设置RecordCount值。
(补充:设置RecordCount值的方法是)
DataTable dt = new DataTable();
AspNetPager1.RecordCount = dt.Rows.Count;
转载于http://blog.csdn.net/skyisland/archive/2007/03/08/1523828.aspx
1、要分页的记录总数只有一页且AlwaysShow设为false(默认);
2、Visible属性设为false;
3、未设置RecordCount值。
(补充:设置RecordCount值的方法是)
DataTable dt = new DataTable();
AspNetPager1.RecordCount = dt.Rows.Count;
转载于http://blog.csdn.net/skyisland/archive/2007/03/08/1523828.aspx