To implement taht concept we need to handle paging concept.
place a grid view,
select properties and mention the pagesize as per requirement.
write the database coding and bind to grid view. place a label
label1.text=(e.Newpageindex+1)+"out of"+Gridview1.PageCount;
Before all you must handle pageindex changing event of gridview