Asp net detailsview not updating

Ok, Now I'm sure this was working the other day and I don't think I've changed anything but now it's not working and I can't see anything wrong with the code.Basically I have a details view with product information in it, when the user clicks edit it goes into edit mode when I change any of the fields and click update it updates but with the old values.I solve this problem by canceling the Item Updating event, changing the mode, and rebinding the details view data source.This was the only way I got things to worked for me.

I was stocked for sometime using the 2.0 Details View control to Edit/Update data.Here is my detailsview: I tried adding a label to my page and then once updated Name had been assigned the value of the textbox I tried assigning that value to the label and it printed out the old product name not the one in the textbox.I can't see anything wrong with the code and it's driving me mad. hi, i think you miss something, try to see the table where you save the value of the fields you entered if it change anything, if it change anything, then you have put some code on your SP that retrieves data after the UPDATE code that you have.Problem 2: When clicking the update button I handle the updating of the order in the Item Updating event but the Item Updated never fires and the Details View never change the mode to Read Only after the data was updated.Details View control always stayed on the Edit Mode.

Leave a Reply

  1. who is meghan martin dating 29-Sep-2020 22:08

    You can meet random people and talk to strangers on webcam, but you can also have webcam sex as well.

  2. personals dating site show intrest 02-Apr-2020 02:21

    Sign up, customize your profile, and get connected to the hottest gay men online!

  3. online dating uk fish 24-Feb-2020 22:18

    Save Porn ABC in your favorites to stay updated on which are the true best free sex cams, dating sites and world-known pornstars for this year.

  4. double your dating 18 27-Oct-2020 09:25

    In the caption she writes, “ So in love with this dress! ” It would appear that her followers are also digging the dress, as the image received over 412,000 likes online.