Custom Paging in datagrid

Discussion in 'ASP .Net Datagrid Control' started by anon, May 10, 2004.

  1. anon

    anon Guest

    hi all,
    i have tried implementing custom paging using the example from 4 guys
    from rolla....however example doesnot work as desired.....i.e when the
    pagecount is 1...and current page index is 0(for the first page...then
    nothing hapens and it does not move to next page...am i missing
    something?

    http://www.4guysfromrolla.com/webtech/code/CustPaging.aspx.html

    this is the part i m talking about...
    Select arg
    Case "next":
    If (Pubs.CurrentPageIndex < (Pubs.PageCount - 1)) Then
    Pubs.CurrentPageIndex += 1
    End If

    note...i have implemented it in C#....but logic is the same

    thanks..
    Ben

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    anon, May 10, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Hobbs
    Replies:
    1
    Views:
    597
    Chuck Haeberle
    Jul 24, 2003
  2. Flare
    Replies:
    0
    Views:
    351
    Flare
    Aug 26, 2003
  3. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    DataSet paging vs Datareader paging

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    10,651
    Scott Allen
    Oct 8, 2004
  4. wh1974
    Replies:
    0
    Views:
    2,415
    wh1974
    Jan 12, 2005
  5. Red
    Replies:
    1
    Views:
    701
Loading...

Share This Page