Formview objectdatasource not updating 1on 1 webmistress web cam live for free without credit
Attach method requires the primary key and timestamp column be set to the original value when you retrieved the object.
Always or When Changed needs to have its original value be set.
Now that I am done with setting up my business object, all that's left is to use the object with Object Data Source control to insert, update and delete the customer.
The aspx code is shown below I wont be going into every control on the aspx page since i have covered that in my previous blog posting, I will simply mention how i am wiring up everything together.
I have a formview and gridview control that inserts,updates and deletes record from customer table using the objectdatasource control. In order to specify the object datasource control which entity to get the data from, i set my type to Customer.
For my select operation i set my Select Method to Retrieve Page. Sort parameter is being passed by setting the sort Parameter Name property to the name of the parameter on the method.