469,133 Members | 1,051 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,133 developers. It's quick & easy.

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 1135

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.