Click here to Skip to main content
16,016,760 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I want custom paging in Datalist.

First read carefully the requirement.

I have table which stores the record tblRecord. All the record are displayed in front end in Gridview. If user select the record number 4 then in next page it will show that record. If the record is first then next button appears and show all records one by one. And if the user has selected the middle record then that record will display in next page and next and previous button appears.

I have no idea how to implement PagedDataSource for Datalist. Any one can help me to solve my problem.

Thanks,
Deepak
Posted

Refer this:
http://forums.asp.net/t/1108198.aspx[^]
the above link providesd the code with paged data source
How to give the Paging in " Datalist" in asp.net.[^]
 
Share this answer
 
v3
See the same discussion
Paging in datalist
word document
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900