A
anon
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/webtech/code/CustPaging.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
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/webtech/code/CustPaging.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