How to paging in my web application like google pages.

Posted by Jayakumars under ASP.NET on 10/10/2011 | Points: 10 | Views : 1880 | Status : [Member] [MVP] | Replies : 1

I am developed my webpage but i need paging like Google when I will click next
button i need further Page no show then when i will click previous action
as per google how will do this i need most urgent.

Mark as Answer if its helpful to you


Posted by: Blessyjees on: 10/10/2011 [Member] Bronze | Points: 25


I think that your data is getting from db. You can use stored procudure to retrieve the given number of datas from db or you can use linq query to retrieve data.
using linq
var query = from company in qCompany

select company;
companyList= query.Skip((pageIndex - 1) * pageSize).Take(pageSize).ToList();

Blessy Baby
Digitalmesh Softech pvt Ltd

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response