Detailsview not updating
NET 2.0 Instant Results and Dreamweaver MX 2004 Want to be my colleague? Hi Andew, Difficult to tell without the ability to try it out, or seeing other parts of your code. The reason it wasn't updating the entry was that in the Details View, I wasn't displaying the id (primary key) so the row in the table wasn't updating. NET 2.0 Instant Results and Dreamweaver MX 2004 Want to be my colleague? I have made a simple test, the environment same as yours with Optimistic Concurrency enabled and I see it working fine.Let me know if you have further queries Thanks I got the example you sent me and indeed as you say, it does not work.
A design surface and hundreds of controls and components let you rapidly build sophisticated, powerful UI-driven sites with data access.
Thanks Regards I have included the primary key in SELECT and it now works fine.
The only problem is that ID (PK) also display in Details View. Is there a way to hide the Primary Key while keeping it working?
This method is commonly used when you need to update the current record from outside of the Details View control, such as from a different control on the page.
event is raised when an Update button within a Details View control is clicked, but before the update operation.