I have a GridView (index data) and a FormView (for details of selected row in GridView).
Everything inside UpdatePanel.
The FormView has a ObjectDataSource that connects to SIM BLL class.
I set the UpdateMethod to:
UpdateAllComments(String simComment, String buyComment, String selComment, String simID), returns StatusEnum
This method in SIM BLL calls the Update SIM in DataSet and the Update BUY (in BUY BLL class) and Update SEL (in SEL BLL class).
When I click on Update link, I get this error:
Error: Sys.WebForms.PageRequestManagerServerErrorException: Updating is not supported by ObjectDataSource 'ObjectDataSource2' unless the UpdateMethod is specified.
But the UpdaMethod in ObjectDataSource is defined.
I don't know what's happening...
Another question that I have is how to set the Parameters? The FormView uses data from 3 tables.
Thanks in advance!