Asp net detailsview not updating

Rated 4.34/5 based on 642 customer reviews

Introduction Details View is a Data Bound control of ASP.

NET used to display a single record from a Data Source in the form of a table, where each row represents a field of the record.

What is the Updat Command that I need to specify if my Select command is SELECT Field A, Field B FROM My Table?

Thanks Regards On Jun 22, *am, "John" Hi I have a Details View that is bound to a sql server.

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.

The Item Updated event never fired but I got the Details View to works how I wanted.

But I can't see why it wouldn't be bringing back the new textbox values.

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.

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.

Leave a Reply

  1. Sexforum cam 22-Sep-2020 15:54

    You can either talk directly into your webcam or you can use the text chat area to message them.

  2. Video chat private message married adult 16-Jan-2020 20:00

    Check out our top 10 list below and follow our links to read our full in-depth review of each online dating site, alongside which you'll find costs and features lists, user reviews and videos to help you make the right choice.

  3. Free private porn chat no regestration 22-Oct-2020 13:28

    Keep checking our webcam section in Turkey as we're always listing and featuring new webcams in Turkey.

  4. best dating sites queensland 24-Apr-2020 15:47

    find my girlfriends locationhow can i make my ex girlfriend want me back.

  5. updating laminate countertops 07-Apr-2020 11:09

    The celebration went usually alternate, in which the male half of the state managed to nalakatsya not standing.

  6. Free north west cam chat 30-Nov-2019 15:10

    While some are happy about the “news,” others still seem to be in a daze about what actually went down at the Super Bowl.