By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,469 Members | 1,259 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,469 IT Pros & Developers. It's quick & easy.

Custom Paging in Datagrid-Pagecount is always 1

P: n/a

Hi All,
tried implementing the custom paging solution from 4 guys from
rolla...however the pagecount in my implementation always returns one,
so the postback gives an error asying"CurrentPageIndex should be >=0 and
less thn pagecount....the database has more than 5 rows(5 being the page
size)...
i m stuck with this and dont know how to proceed,,,,any help is
appreciated...heres the link,,,to the article...
http://www.4guysfromrolla.com/webtec...ging.aspx.html

Select arg
Case "next":
If (Pubs.CurrentPageIndex < (Pubs.PageCount - 1)) Then
Pubs.CurrentPageIndex += 1
End If

this is the part where my app gets stuck and does not go to next
page....
thanks
Ben
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.