Click here to Skip to main content
15,881,821 members
Please Sign up or sign in to vote.
3.40/5 (2 votes)
Hello,

Im developing a windows mobile app and i have a .sdf database included on it.I want to sync this table with a table in the server,when i connect the mobile device to the server.Offline mode i mean.Anyone can help me how to do that??i have installed the sync framework and everything needed,but i dont know where to start.Help is needed as i am a newbie

Thanks in advance!
Posted
Comments
Oshtri Deka 1-Mar-12 5:21am    
Add SQL CE and/or SQL Server tag.
That will attract more people.

Hey you have to develope a Simple windows application and on buttonclick specify source 1 and source 2 in Sync framework you have to add dlls from sync framework program files I can't remeber entire code but you have to create connectionstrings for 2 different database

You can read entire code on these links

http://msdn.microsoft.com/en-us/library/dd918848(v=sql.110).aspx[^]

Sorry
 
Share this answer
 
Comments
IviKAZAZI 1-Mar-12 5:24am    
i want to set that sync button at the windows mobile device,not at the comp.so when i click sync,and afer i have set the server,db,user id and pass,the sync starts.
Madhav Hatwalne 1-Mar-12 5:31am    
Try to use those dll which are working for windows mobile or not

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