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

Update command on DataAdapter

Thread ID:

Created:

Updated:

Platform:

Replies:

1826 Nov 28,2002 01:35 AM Nov 28,2002 05:10 PM Windows Forms 1
loading
Tags: GridControl
Pothen Alain
Asked On November 28, 2002 01:35 AM

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 05:10 PM

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.

CONFIRMATION

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.

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.

;