.sdf和Access [英] .sdf and Access

查看:186
本文介绍了.sdf和Access的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想将数据存储在我的Pocket PC上的SDF文件中,然后使用ActiveSync(4.0)将该SDF文件同步到桌面。现在,我需要一些方法来读取桌面上的SDF文件并填充和访问数据库。

我的用户不会也不会拥有sql server或任何互联网信息服务......他们是普通用户而不是企业用户。

我正在使用CFCOM在设备上读取我的cdb将其转换为设备上的SDF。 CFCOM似乎只适用于VS2003。 VS 2003生成SQL CE 2数据库。 VS 2003似乎无法读取SDF。我有VS 2005,但它使用与VS2003格式不兼容的sdf。

我在VS 2005中重写了我的主应用程序,但我现在需要一个解决方案用于intermin。

我试过转储我的CDB到XML,它非常缓慢(超过三分钟)。

任何想法?



Tim
TSE Digital Productions

解决方案

去查看Access数据库同步(ADS)


http://blogs.msdn.com/sqlservereverywhere/archive/2006/08/29/729730.aspx


Hi,

I want to store data on my Pocket PC in an SDF file and then use ActiveSync (4.0) to have that SDF file synced to the desktop.  Now, I need some way to read that SDF file on the Desktop and populate and Access database.  

My users do not and will not have sql server or any internet information services... They are regular users not corporate users.

I am using CFCOM to read my cdb on the device and turn it into an SDF on the device.  CFCOM only seems to work on VS2003.  VS 2003 produces a SQL CE 2 database.  VS 2003 does not seem to be able to read SDFs.  I have VS 2005 but it uses sdf with an incompatible format to VS2003.

I am rewriting my main app in VS 2005, but I need a solution now for the intermin.

I tried dumping my CDB to XML and it was horribly slow (over three minutes). 

Any ideas?


--
Tim
TSE Digital Productions

解决方案

Go see the Access Database Synchronization (ADS)

http://blogs.msdn.com/sqlservereverywhere/archive/2006/08/29/729730.aspx


这篇关于.sdf和Access的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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