Click here to Skip to main content
14,835,150 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: HI friend , Pin
PSK_22-Mar-10 19:06
MemberPSK_22-Mar-10 19:06 
AnswerRe: HI friend , Pin
Christian Graus22-Mar-10 19:40
protectorChristian Graus22-Mar-10 19:40 
QuestionHandling JS file in Resources Pin
M. J. Jaya Chitra22-Mar-10 15:21
MemberM. J. Jaya Chitra22-Mar-10 15:21 
AnswerRe: Handling JS file in Resources Pin
PSK_22-Mar-10 18:24
MemberPSK_22-Mar-10 18:24 
GeneralRe: Handling JS file in Resources Pin
M. J. Jaya Chitra22-Mar-10 18:49
MemberM. J. Jaya Chitra22-Mar-10 18:49 
GeneralRe: Handling JS file in Resources Pin
PSK_22-Mar-10 19:05
MemberPSK_22-Mar-10 19:05 
GeneralRe: Handling JS file in Resources Pin
M. J. Jaya Chitra23-Mar-10 15:08
MemberM. J. Jaya Chitra23-Mar-10 15:08 
Questionefficiently paging very large record set (~500000) records Pin
uglyeyes22-Mar-10 15:13
Memberuglyeyes22-Mar-10 15:13 
Hi,

I am using datalist in c# web application. the site was fast till about I had 2000 records now it slowed down and I need to efficiently page the data rows. I followed this article.

http://aspnet.4guysfromrolla.com/articles/031506-1.aspx

but, it only gives me 10 records at a time but the actual result is ~500000
in my below code
<pre>
List&lt;Advert&gt; adverts = new List&lt;Advert&gt;();
PagedDataSource pds = new PagedDataSource();
pds.AllowPaging = true;
adverts = myBLL.GetAdverts(country, city, adtype,pds.CurrentPageIndex,pds.PageSize);
PropertyListCount = adverts.Count;
pds.DataSource = adverts;
pds.PageSize = 10;

</pre>

I know i am only getting 10 records as its only retrieving 10 records for the firsst time for Page No 1
but how can i display other page numbers so when user clicks Page 2 the parameter becomes
pds.CurrentPageIndex=10 and pds.PageSize=10?

please help I hope my question is clear enough to understand.

thank you
AnswerRe: efficiently paging very large record set (~500000) records Pin
Not Active22-Mar-10 15:32
mentorNot Active22-Mar-10 15:32 
GeneralRe: efficiently paging very large record set (~500000) records Pin
uglyeyes22-Mar-10 15:43
Memberuglyeyes22-Mar-10 15:43 
GeneralRe: efficiently paging very large record set (~500000) records Pin
Not Active22-Mar-10 16:09
mentorNot Active22-Mar-10 16:09 
GeneralRe: efficiently paging very large record set (~500000) records Pin
uglyeyes22-Mar-10 16:44
Memberuglyeyes22-Mar-10 16:44 
GeneralRe: efficiently paging very large record set (~500000) records Pin
Not Active22-Mar-10 16:51
mentorNot Active22-Mar-10 16:51 
GeneralRe: efficiently paging very large record set (~500000) records Pin
uglyeyes22-Mar-10 17:06
Memberuglyeyes22-Mar-10 17:06 
GeneralRe: efficiently paging very large record set (~500000) records Pin
uglyeyes22-Mar-10 19:43
Memberuglyeyes22-Mar-10 19:43 
GeneralRe: efficiently paging very large record set (~500000) records Pin
Arindam Tewary22-Mar-10 21:58
professionalArindam Tewary22-Mar-10 21:58 
GeneralRe: efficiently paging very large record set (~500000) records Pin
uglyeyes23-Mar-10 2:04
Memberuglyeyes23-Mar-10 2:04 
Questionload page Pin
future383922-Mar-10 14:32
Memberfuture383922-Mar-10 14:32 
AnswerRe: load page Pin
Not Active22-Mar-10 15:14
mentorNot Active22-Mar-10 15:14 
QuestionMouse Over ASP [modified] Pin
Dalek Dave22-Mar-10 13:17
professionalDalek Dave22-Mar-10 13:17 
AnswerRe: Mouse Over ASP Pin
Not Active22-Mar-10 13:26
mentorNot Active22-Mar-10 13:26 
GeneralRe: Mouse Over ASP Pin
Dalek Dave22-Mar-10 13:44
professionalDalek Dave22-Mar-10 13:44 
GeneralRe: Mouse Over ASP Pin
Not Active22-Mar-10 14:06
mentorNot Active22-Mar-10 14:06 
GeneralRe: Mouse Over ASP Pin
Dalek Dave22-Mar-10 14:18
professionalDalek Dave22-Mar-10 14:18 
GeneralRe: Mouse Over ASP Pin
Dalek Dave22-Mar-10 14:11
professionalDalek Dave22-Mar-10 14:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.