Inserting/Updating records in a DetailsView

Discussion in 'ASP .Net' started by 47computers, Mar 28, 2007.

  1. 47computers

    47computers Guest

    Whenever I Update a record with a DetailsView, after the postback the
    DetailsView reverts to Insert mode and all the fields are blank. Is
    there any way, perhaps in the ItemUpdated event, that I can make the
    DetailsView stay in Update mode on that record?

    On a similar note, when I use an empty DetailsView to insert a record,
    is there any way to have it switch to Update mode on the new record?
     
    47computers, Mar 28, 2007
    #1
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.