将SQL CE与SQL Server 2008同步

编程入门 行业动态 更新时间:2024-10-26 05:17:08
本文介绍了将SQL CE与SQL Server 2008同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好, 我正在开发一个Windows移动应用程序,我有一个.sdf数据库。我想将此表与服务器中的表同步当我将移动设备连接到服务器时。我的意思是离线模式。任何人都可以帮我怎么做?我已经安装了同步框架和所需的一切,但我不知道从哪里开始。需要帮助,因为我是一个新手 提前谢谢!

解决方案

嘿,你必须开发一个简单的Windows应用程序,然后开启buttonclick在Sync框架中指定源1和源2你必须从同步框架程序文件添加dll我不能记住整个代码但是你必须为2个不同的数据库创建连接线 您可以在这些链接上阅读完整的代码 msdn.microsoft/en-us/library/dd918848(v = sql.110).aspx [ ^ ] 抱歉

这是一个有用的链接: social.technet.microsoft /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 msdn.microsoft/en-us/library/dd918848(v=sql.110).aspx[^] Sorry

This is a useful link: social.technet.microsoft/wiki/contents/articles/2190.tutorial-synchronizing-sql-server-and-sql-server-compact-sync-framework.aspx

更多推荐

将SQL CE与SQL Server 2008同步

本文发布于:2023-10-30 03:58:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541688.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:CE   SQL   Server

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!