在C#桌面应用程序中脱机工作 [英] Work offline in C# desktop application

查看:150
本文介绍了在C#桌面应用程序中脱机工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在c#windows应用程序中工作。客户端获得手持设备,他们应该离线工作。

我的前端是C#窗口和后端sql server 2005.



In每个设备我都有一个本地数据库,并保存在其中。当有网络时,客户端应该单击一个按钮并与服务器同步。



我对它没有任何想法。请帮我。!!

谢谢

I am working in c# windows application. The clients are given handheld devices and they should work offline.
My front end is C# windows and back end sql server 2005.

In each device I am having a local database , and saving in it. And when there is network , the client should click on a button and synchronise with server.

I dont have any idea in it. Please help me.!!
Thanks

推荐答案

架构计划很好!但同步不是一项开箱即用的任务。这取决于您的数据和业务需求。我们无法告诉您,您需要同步什么。

对于怎么做部分,你可以制作你的方法,或者使用微软的方法:http://msdn.microsoft.com/en-us/library/cc761494(v=sql.90).aspx [ ^ ], http://blogs.charteris.com/blogs/ivorb/archive/2010/07/08/sync-framework-2-0-series-part-2-using-local-database -caching-for-occasion-connected-application -aspx [ ^ ] - 但是这些可能需要稍微重新设计。
The architecture plan is good! But synchronization is not an out-of-the-box task. It depends on your data, and the business needs. We can not tell you what do you have to synchronize.
For the "how to do it" part, you can make your method, or use us the ones by Microsoft: http://msdn.microsoft.com/en-us/library/cc761494(v=sql.90).aspx[^], http://blogs.charteris.com/blogs/ivorb/archive/2010/07/08/sync-framework-2-0-series-part-2-using-local-database-caching-for-an-occasionally-connected-application.aspx[^] - but these might need a little redesign.


这篇关于在C#桌面应用程序中脱机工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆