I am trying to figure out how to update a gridview on my webpage which is bound to an ObjectDataSource. I have loaded the gridview based on a parameter to filter the results but I cannot figure out how to get the UPDATE and DELETE commands to work. When I go through the configure data source wizard for the ObjectDataSource I see where I can specify a method for UPDATE and DELETE. I have created UPDATE and DELETE methods in the dataset designer using both SQL and stored procedure but I get errors.
Can anyone give me some direction as to what I should be doing differently or what I need to look at to get the methods to work?