Objectdatasource updating event args updating data in cell phone
event, you can examine and manipulate the values of the parameters and perform any additional preprocessing that is required.
Any changes to the parameters in this dictionary will affect which method overload is called for the operation.
But I need to check to see if the update failed in the on Updated event handler, and it doesn't have e. So I need to know how to get a Grid View row to remain in edit mode if the update fails.
I want to initialise my object to load all the old values from the object (rather than a blank object as Object Data Source defaults to). At present I have a kludge to get the data from the Details View control directly - is this the right method?
Create a handler for the Object Data Source Updated event in your codebehind.
One of the parameters to this handler is of type Object Data Source Status Event Args.
The following list describes the two major classes that are defined in the code example: This set of example classes uses the Northwind Traders database, which is an example database available with Microsoft SQL Server and Microsoft Access.
For a complete working example, use these classes by placing them in the App_Code directory under the application root or by compiling them and placing the resulting DLL in the Bin directory.