Updating with a dataset

If you provide the type of error generated then it would be of great help in understanding your problem. you cannot write both executenonquery and update methods simulatneoulsy. if you are updating a database using the update method of dataadapter class then you must not be using the executenonquery as it is reuqired in case when you have the parameters collection.
 
Back
Top