简体   繁体   English

如何使Windows CE手持设备与桌面应用程序完全同步

[英]how to get a Windows CE handheld fully in sync with a desktop application

I have an application which allows the user to do certain things (add, edit, delete records) to a database. 我有一个应用程序,它允许用户对数据库执行某些操作(添加,编辑,删除记录)。 I have a handheld device which works in batch mode, so it is not live. 我有一个可在批处理模式下工作的手持设备,因此它不可用。 When docked, it syncs its data with the database. 停靠后,它将数据与数据库同步。

Until now, the tasks that the handheld has been doing were very small (only creating new records). 到目前为止,手持设备一直在执行的任务非常小(仅创建新记录)。 So the way I have been doing it is to use CSV files and bounce them back and forth. 因此,我一直使用的方法是使用CSV文件并来回反弹它们。

Problem is, now the handheld app is going to be significantly larger so using CSV files (chopping and changing) will become VERY messy. 问题是,现在手持应用程序将变得更大,因此使用CSV文件(剪切和更改)将变得非常混乱。

I am trying to figure the best way of going about re-designing this. 我正在尝试找出重新设计此方法的最佳方法。 I could have database on the handheld which is kept in sync with the main database but I have a feeling that with the size of the DB, the handheld wouldn't be able to handle it (plus there is no need for this). 我可以在掌上电脑上拥有与主数据库保持同步的数据库,但是我觉得随着数据库的大小,掌上电脑将无法处理它(而且不需要这样做)。

What is the neatest way of doing what I need to do? 做我需要做的最整洁的方法是什么?

您可以使用SQL Server Compact Edition代替CSV文件,而只需将sdf文件传递到桌面应用即可轻松同步数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从Windows CE移动设备访问文件到我的桌面应用程序? - How Can I access File from Windows CE mobile to my desktop application? 如何在手持设备(CF / CE)中获取.exe的文件版本信息? - How can I get file version info of an .exe in a handheld device (CF/CE)? 如何以编程方式查找Windows桌面应用程序是否正在Windows手持设备上使用 - How to programmatically find if a Windows desktop app is being used on a Windows handheld device 如何在Windows CE上开始开发应用程序? - How to start developing an application on Windows CE? Windows ce +应用程序开发 - windows ce + application development 如何判断Windows桌面是否功能齐全(已加载)c# - How to tell if Windows desktop is fully functional (loaded) c# 如何从特定的手持设备获取ESN? - how to get the ESN from a specific handheld? 如何知道某个进程是否在桌面应用程序的windows ce设备上运行 - How to know if certain process is running on windows ce device from desktop app 如何在Windows桌面应用程序中使用ReportViewerControl? - How to use ReportViewerControl for Windows Desktop Application? 如何获取我的设备的IP和服务器IP(windows-CE) - how to get the IP of my device and the server IP (windows-CE)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM