随笔分类 - 数据库和数据访问
摘要:一、场景描述 在智能设备(Smart Device)应用程序和智能客户端(Smart Client)应用程序的部署阶段,我们需要对离线数据进行初始化,即将后台数据库服务器中的一些数据,导入到离线数据库中。通常采用两种方式对离线数据进行初始化,第一种是在程序第一次运行时,通过数据同步的方式,把数据从后台下载下来;第二种是将预先准备好的离线数据随应用程序一起部署。 对于 SQL Server Com...
阅读全文
摘要:Windows Mobile从入门到精通 http://www.tompda.com/zhuanti/WindowsMobile
阅读全文
摘要:如何从Oracle服务器中将数据导入到Sql Server CE中呢?
阅读全文
摘要:Mobile RDA 同步数据库的类--转usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Data;usingSystem.Data.SqlServerCe;usingSystem.IO;namespaceDataBaseCTLSpace...{classDataBaseCTL...{privatestringassemblyLocalFolder;privateSqlCeConnectionSQLConn;privatestringInternetURL;privatestringOleDbCo
阅读全文
摘要:注意:Pull方法一次只可以从SQl Server获取一个数据表,SQl Mobile 数据库不能存在同名的数据表,所以每次通过Pull方法获取新的数据时,必须先删除上次Pull方法获得的本地表.privatestring_sQLCE_DROP_TABLE="DROPTABLE{0}";privatestring_sqlExistsTable="SELECTCOUNT(*)FROMINFORMATION_SCHEMA.TABLESWHERETABLE_NAME={0}";/**////<summary>///删除本地表(如果存在,否则同步会失
阅读全文