I have an ObjectDataSource which has two methods - GetData which gets data from the database and returns an array of Classes, and UpdateData which takes an array of Classes and updates the database. The array of Classes contains sufficient information to allow UpdateData to work out what it needs to do. So, to get an update to work, all I need to do is pass the [amended] array of Classes back to the ObjectDataSource via the UpdateData method.
Then, I need to pass the array of Classes over to the ObjectDataSource (the converse of the PerformSelect). I was expecting to see a PerformUpdate or similar function within DataBoundControl. At that point, I have juddered to a stop - and can't find anything which talks about how to get the data source to update.
I'm, probably missing something obvious - and actually hope that I am!
View Complete Post