Inserting/Updating records in a DetailsView

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

  1. 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?
    , Mar 28, 2007
    #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. Nick
    Replies:
    0
    Views:
    505
  2. tom c
    Replies:
    0
    Views:
    445
    tom c
    Sep 19, 2006
  3. le0
    Replies:
    0
    Views:
    582
  4. Feege
    Replies:
    0
    Views:
    426
    Feege
    Dec 20, 2005
  5. Tyler Lynch

    Inserting from DetailsView and associated Child Records

    Tyler Lynch, Dec 7, 2007, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    220
    Phil H
    Dec 8, 2007
Loading...

Share This Page