因為頁碼並不是listview參數所要的row起始索引的話,
因此才會跳錯頁的!! /// 指定跳頁
public void JumpPage(int jumpPage)
{
//算出指定頁的起始索引值
int lowerBand = (jumpPage - 1) * this.dataPager.PageSize;
this.dataPager.SetPageProperties(lowerBand, this.dataPager.PageSize, true);
}
沒有留言:
張貼留言
留個話吧:)