i have a grid view with editing enabled so when i edit a user i get an error:
ObjectDataSource ‘ObjectDataSource1’ could not find a non-generic method ‘Update’ that has parameters:
i am also using a details view to insert a new user to by database but when i try to insert it says
ObjectDataSource ‘ObjectDataSource1’ could not find a non-generic method ‘Insert’ that has parameters:
Make sure all methods [SelectMethod, UpdateMethod, DeleteMethod, SelectCountMethod, InsertMethod] used by the ObjectDataSource are typed correctly.
Check to verify the Type ( sTableAdapters.SyTableAdapter ) actually contains the Update and Insert method
Do these methods contain exact parameters as pointed in the error, both in number and order. Remember that the order of parameters mean a lot for ObjectDataSource .