Dataapter only updates local dataset
Posted by: silentbreed
Date: November 21, 2004 06:37AM

Hi,

I'm having problemes updating my remote mysql database. I'm pretty new to this and i was just playing around, writing a small program to easely maintain some data on a remote server.
Here's the code i'm currently using to 'force' a save:

bmWoningen.EndCurrentEdit()
myDS.Tables("woningen").AcceptChanges()
myDA.Update(myDS, "woningen")

I'm using MySqlCommandBuilder to create the commands. No error gets thrown or anything, and the local dataset stays updated. However, no changes are made to the remote data.

Using the MySqlCommand to create my own insert/update/... command and calling that with ExecuteNonQuery works just fine, but then what would be the use of the command builder ? :S

How do i get the data to update on the remote server ?

Regards,

Options: ReplyQuote


Subject
Written By
Posted
Dataapter only updates local dataset
November 21, 2004 06:37AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.