将SQL CE与SQL Server 2008同步 [英] Sync SQL CE with SQL server 2008
本文介绍了将SQL CE与SQL Server 2008同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我正在开发一个Windows移动应用程序,我有一个.sdf数据库。我想将此表与服务器中的表同步当我将移动设备连接到服务器时。我的意思是离线模式。任何人都可以帮我怎么做?我已经安装了同步框架和所需的一切,但我不知道从哪里开始。需要帮助,因为我是一个新手
提前谢谢!
解决方案
嘿,你必须开发一个简单的Windows应用程序,然后开启buttonclick在Sync框架中指定源1和源2你必须从同步框架程序文件添加dll我不能记住整个代码但是你必须为2个不同的数据库创建连接线
您可以在这些链接上阅读完整的代码
http://msdn.microsoft.com/en-us/library/dd918848(v = sql.110).aspx [ ^ ]
抱歉
这是一个有用的链接:
http://social.technet.microsoft.com /wiki/contents/articles/2190.tutorial-synchronizing-sql-server-and-sql-server-compact-sync-framework.aspx
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!
解决方案
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
This is a useful link:
http://social.technet.microsoft.com/wiki/contents/articles/2190.tutorial-synchronizing-sql-server-and-sql-server-compact-sync-framework.aspx
这篇关于将SQL CE与SQL Server 2008同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文