Click here to Skip to main content
14,664,400 members
Rate this:
Please Sign up or sign in to vote.
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.

Rate this:
Please Sign up or sign in to vote.

Solution 1

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
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100