Update a dataset used by a gridview(uses paging) by checking the checkboxes

Discussion in 'ASP .Net' started by Samy, Jul 21, 2006.

  1. Samy

    Samy Guest

    Hi There,

    I have a grid view which has paging enabled in it. One of the colums is
    a check box and checkbox selections shows a subset of rows a user has
    selected from available rows. I need to update the dataset by checking
    the rows selected by a user. What is the best way to do that?

    I have paging enabled in the gridview and if the user selects some rows
    in the first page and a few rows in the second page, I save the ids in
    the arraylist so that I can match the primary key of the gridviewrow
    with this id in the arraylist, but how do i get the entire row info
    from the rows in the gridview if it is showing me only the rows in the
    first page and the id is from the second page?

    Thanks a lot for any suggestions..
     
    Samy, Jul 21, 2006
    #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. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    DataSet paging vs Datareader paging

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    10,871
    Scott Allen
    Oct 8, 2004
  2. Roy

    Pre-Checking checkboxes?

    Roy, Aug 23, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    445
  3. schapopa
    Replies:
    3
    Views:
    1,581
    Mark Rae [MVP]
    May 19, 2010
  4. ES

    Paging In GridView bound to DataSet

    ES, Oct 4, 2006, in forum: ASP .Net Web Controls
    Replies:
    5
    Views:
    312
  5. Wendy S
    Replies:
    3
    Views:
    89
    Dr John Stockton
    Feb 29, 2004
Loading...

Share This Page