I can put breakpoints all over the place, but the trail stops at the end of Things_Updating.
To run an update you need to have a method on your object that takes userid, name and surname, your object must support either an empty constructor or the method must be static.
Then simply have a boundfield on your detailsview with visible=false on it and everything should work properly.
Because the Update Parameters collection contains a Control Parameter object that is bound to the selected value of the Drop Down List, the button that triggers the Update operation is enabled only after an employee is selected.
Raising an event invokes the event handler through a delegate.
This was occuring even though I had placed Old Values Parameter Format String="original_" or Old Values Parameter Format String="" within the Grid View's attributes.
Ok, So I was able to resolve this issue by going into the On Updating event in the Object Data Source and doing the following below.
While I'm very happy for anything to be working after so much time, I still feel like this is a bad hack for this to work.
I have a hard time fathoming why this seemingly simple use of the Grid View on my part has turned out to be very complicated.
I'm extremely leary now of using the Object Data Source object for anything if it's going to be this much of an effort.
Anyway, thanks again for any advice or tips on what might done to get this to work correctly.
Your problem begins with the actual UPDATE SQL command that your datasource generates.