I think the problem is to do with the new values from the textbox not being retrieved.As when I assign updated Name to Label1 it displays the old product name value and not the one in the textbox.When I click Update, I get the Item Updating event but not the Item Updated event, and the revisions are not written to the database.
Which I need to set my Details view back to read only. Anyone have any ideas why Item Updated isn't being fired? Hi Nick, The Details View Item Updated event is only fired is the Details View is bound to a Data Source ID, so you'll need to add this logic somewhere else (maybe in Item Command after Update Item is called). Everytime I do I get the error meesage that Update Item can only be called while the Details View is in edit mode.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.The product table is not updating with the new values. Update Command = "UPDATE orgregistration set [email protected]_name,[email protected]_address,[email protected]_id Where [email protected]_id"; Sql Data Source Country. Select Command = "SELECT org_id,org_name,org_address,country_name FROM vworgregistration"; sqldetailview1.