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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Update command on DataAdapter

Thread ID:





1826 Nov 28,2002 06:35 AM UTC Nov 28,2002 10:10 PM UTC WinForms 1
Tags: GridControl
Pothen Alain
Asked On November 28, 2002 06:35 AM UTC

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

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon