Hi I have an object with properties and a Save method. The Save method is not static, so the object has to be instantiated, so I assume the properties have been populated. Therefore the Save method has no parameters.
I now want to bind the object to a FormView using the ObjectDataSource. I have a querystring ID field that is used in the SelectMethod, which instantiates the object as needed, and that works fine, populating the formview. However, the UpdateMethod is a problem. It seems the update function looks for a Save method with all the properties as parameters. So now do I need to write & maintain a second Save method? It would be pretty redundant, as it would need to use the parameters to instantiate the object (with the ID), update the properties (with the rest), then call the original Save method. Seems like a total waste. Have I got something wrong here? Thanks Sean
