Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
Please help me synchronize a SQL server database with a mysql database in c#.
I have tried using a Dataset.merge method but call on dataadpter.update doesn't make any changes to the database or raise any errors. Dataset.acceptchanges didn't seem to work either.
Help on how to make it work or at least a workaround.
Posted
Comments
Kschuler 26-Oct-10 13:59pm    
It would be helpful if you could post the relevant code you currently have.

1 solution

Below is some code snippet

MIDL
dataAdapter.Fill(dataset1,"srcTable");
dataAdapter2.Fill(dataset2,"srcTable2");

dataset1.Merge(dataset2);//shows good results in a datagridview

dataAdapter.Update(dataset1,"srcTable"); //Not updating
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900