hi thanks for reply i have done this type of paging i want user enter value in text box result show for example user enter 20 then 20 records show by default 10 records show
DataList doesn't support Paging. So I suggest using a Paging control that can let you do paging. Maybe you should calculate the totalNumber and the totalPageNum, and then show the correct paging number list.
For more you can refer to this (Download the sample as well as the customized paging control).
hi thanks for reply i have done this type of paging i want user enter value in text box result show for example user enter 20 then 20 records show by default 10 records show
The link I provide you use query string, you can modify the code to get that value from textbox
Best Regards
Primillo
http://www.facebook.com/programandopuntonet
SP Chawla
Member
81 Points
131 Posts
Advance Paging in datalist asp.net c# 3.5 version use
Dec 15, 2012 05:25 AM|LINK
hii
please provide me any code for advance type of paging in datalist when user enter number of value in textbox show results
for example by default datalist show 6 images when use enter value 12 then 12 images show when enter 50 then 50 images show
in datalist asp.net c3 3.5 version
please help
thanks in advance
Primillo
Star
8841 Points
1701 Posts
Re: Advance Paging in datalist asp.net c# 3.5 version use
Dec 15, 2012 05:54 AM|LINK
Hi
Look here, you can use this code:
http://dbtutorials.com/advanced/querystring-repeater-pager-cs.aspx
Primillo
http://www.facebook.com/programandopuntonet
oned_gk
All-Star
36078 Points
7363 Posts
Re: Advance Paging in datalist asp.net c# 3.5 version use
Dec 15, 2012 06:18 AM|LINK
http://www.codeproject.com/Articles/41821/Allow-Paging-in-Repeater-and-DataList-Using-C
Suwandi - Non Graduate Programmer
SP Chawla
Member
81 Points
131 Posts
Re: Advance Paging in datalist asp.net c# 3.5 version use
Dec 15, 2012 06:40 AM|LINK
hi thanks for reply i have done this type of paging i want user enter value in text box result show for example user enter 20 then 20 records show by default 10 records show
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Advance Paging in datalist asp.net c# 3.5 version use
Dec 16, 2012 12:57 AM|LINK
Hello,
DataList doesn't support Paging. So I suggest using a Paging control that can let you do paging. Maybe you should calculate the totalNumber and the totalPageNum, and then show the correct paging number list.
For more you can refer to this (Download the sample as well as the customized paging control).
http://aspnetpager.codeplex.com/
Primillo
Star
8841 Points
1701 Posts
Re: Advance Paging in datalist asp.net c# 3.5 version use
Dec 16, 2012 04:57 PM|LINK
The link I provide you use query string, you can modify the code to get that value from textbox
Primillo
http://www.facebook.com/programandopuntonet
Primillo
Star
8841 Points
1701 Posts
Re: Advance Paging in datalist asp.net c# 3.5 version use
Dec 17, 2012 05:16 PM|LINK
In this line
Primillo
http://www.facebook.com/programandopuntonet
oned_gk
All-Star
36078 Points
7363 Posts
Re: Advance Paging in datalist asp.net c# 3.5 version use
Dec 18, 2012 01:04 AM|LINK
I think datalist dont have paging feature, why not use ListView with DataPager?
Suwandi - Non Graduate Programmer