Posted by
@Debashis on 2011/05/24 in
Bloggingometimes we need paging to show a list or table data in more organized way. I make an algorithm of paging and also I implement it. My pager is a simple curcular pager. If you are at first page and press on prev, it will take you to the last page and vice verca. The current pager is generally get the middle position except it's nearer to the boundary which is determined by a number= Math.Floor(totalPageNumToShow/2).