We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Update command on DataAdapter

Hi, last night i tried the tutorial about "The basic Databound Grid" I have the following error message "System.InvalidOperationException: Update requires a valid UpdateCommand when passed DataRow collection with modified rows." on the following command "this sqlDataAdapter1.Update(this.dataSet11);" I have the same error with Access Database. I don't think it's related to Syncfusion software, but has anyone already this problem ? I use the 60 days trial version of VS.NET. Alain

1 Reply

AD Administrator Syncfusion Team November 28, 2002 10:10 PM UTC

Alain, Did you use the Products table as suggested in the tutorial, or did you use some other table. In order for the data wizards in Visual Studio to generate the Update command, your table must have a unique primary key.

Live Chat Icon For mobile
Up arrow icon