Click here to Skip to main content
15,914,642 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created dataset using my-sql database and connection string well . simply created get method for table adapter . After i have tried to create query for insert , update , delete using add query and tested using ui that the query is in correct syntax , so , that row was affected . After that i have created objectdatasource at default.aspx . Set select method to get method , insert , update , delete method to the configured method at the table adapter . but when i try to insert , update , delete than error shows that object datasource could not find method insert . What is the solution .
Posted

1 solution

Check this link this explain how to add and use ObjectDataSource
Accessing Data Using Object Data Source in ASP.net 2.0 and C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900