472,122 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

Custom Paging in Datagrid-Pagecount is always 1


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
0 1199

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by asad | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.