Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
DZone MVB

Links

Social

Pager class

Once I wrote a class to make paging calculations. I had some data bound user controls that had no paging support. So I had to improvise. As it is was pointless to duplicate pager code to every user control where I needed paging I wrote a class to make my life easier.

 

NB! This blog is moved to gunnarpeipman.com

Click here to go to article

Comments

Red said:

I am new to this. How do I impliment this class

# May 16, 2008 1:22 PM

DigiMortal said:

Pager pager = Pager.GetPager(currentPage, 10, myTable.Rows.Count);

# May 19, 2008 12:08 AM