Inserting/Updating records in a DetailsView

4

47computers

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?
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top