Results 1 to 3 of 3

Thread: Datagrid and Paging

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Hendersonville , NC
    Posts
    260

    Question Datagrid and Paging

    In a datagrid .... I want a set height (200px) but allow up to 200 rows in the grid. Using the properties -->> Allow Paging , Page Size , Position =Top and Mode PageNumbers. At run time after I load the grid , in this case with 62 rows, my header shows this
    1 2 3 4 5 6 7 and the first page is presented. How do I get the next 10 when user clicks 2 or 40-50 when they click 4???

    gollnick


    __________________
    William E Gollnick

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    There is a great example of how you can acheive this effect located at the following page: http://samples.gotdotnet.com/quickst...id.aspx#paging

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    Lively Member
    Join Date
    Oct 2002
    Location
    Los Angeles, CA
    Posts
    73
    Another very good link, I used when I needed to created paging first time:

    http://www.dotnetjunkies.com/Tutoria...B871F967F.dcik

    The main thing is to create a very slick stored procedure with total records as ouput parameter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width