简体   繁体   English

在Windows CE mobile(OS Windows CE)中访问SQLCE(Microsoft Sql Compact Edition)数据库的最快方法是什么?

[英]Which is Fastest way to access SQLCE(Microsoft Sql Compact Edition) Database in Windows CE mobile(OS Windows CE))?

我的数据库中有3000多个记录,我想在Windows CE移动应用程序中显示该记录。这是显示该记录的最快方法。我使用C#语言,该怎么办?

This MS artice discusses this exact topic. 该MS文章讨论了这个确切的主题。

http://msdn.microsoft.com/en-us/library/dd938877.aspx http://msdn.microsoft.com/en-us/library/dd938877.aspx

I was using table adapers and it was really, really slow. 我使用的是桌上型适配器,这真的非常慢。 One operation wrote 3000 records of about 50 chars and took 20-30 minutes on an old win ce 6.1 device. 一个操作写了3000记录,大约50个字符,并且在旧的win ce 6.1设备上花费了20-30分钟。

I changed over to use resultsets and same task is about 1-2 minutes. 我改用了结果集,相同的任务大约需要1-2分钟。

Andrew 安德鲁

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

相关问题 在Windows Mobile 5上将数据加载到Sql CE数据库的最快方法 - Fastest way to load data into Sql CE database on windows mobile 5 无法访问数据库(SQL Server CE / Windows Mobile 6.5) - Unable to access database (SQL Server CE / Windows Mobile 6.5) 损坏的数据库Sql Server CE(Windows Mobile CE 5.0) - Corrupted Database Sql Server CE (Windows Mobile CE 5.0) Windows Ce Compact Framework HttpWebRequest - Windows Ce Compact Framework HttpWebRequest 在具有Windows CE 5的设备上使用SQL Server CE数据库进行CRUD操作 - CRUD Opertaions with SQL Server CE database on device with Windows CE 5 我在 sqlCE 上遇到本机异常 - 使用 Windows-CE - i got native Exception on sqlCE - working with Windows-CE Windows CE 6上的Compact Framework 3.5的IDE - IDE for Compact Framework 3.5 on Windows CE 6 插入,更新,删除不适用于Windows Mobile的SQL Server CE数据库文件 - Insert, Update, Delete are not applied on SQL Server CE database file for Windows Mobile 在取消Windows移动应用程序标准的同时,如何使SQL CE数据库与现有的DataOn设备保持一致? - While unsitalling the Windows mobile application , how to Keep SQL CE Database with Existing DataOn device? 在单独的文件夹中安装SQL Server CE数据库[Windows Mobile 6 Smart device ap] - Install SQL Server CE database in separate folder [Windows Mobile 6 Smart device ap]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM