Gridview - wrong record displayed when editing

Discussion in 'ASP .Net Web Controls' started by gr8beer, Sep 14, 2006.

  1. gr8beer

    gr8beer Guest

    If a new record is added into the database that is ordered above/before the
    row being edited, when the page reloads after rebinding the wrong record is
    placed in edit mode because the gridview useds the index of the row to
    "remember" the row that was clicked for editing. How can I either cancel the
    default behaviour of rebinding the data when edit is clicked, or force the
    gridview to place the correct record in edit mode?
    --
    gr8beer
     
    gr8beer, Sep 14, 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.

Share This Page