[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

C# and .net CF

Hi all,

I am wondering if the only way in .net CF to use a database is SQLCE (not using 3rd party stuff) more importantly, can I not store the database? Seems like every example is creating a database on the load, so do I have to generate and fill the database befor I can use with the .net CF.


Thanks
0
hkaraman
Asked:
hkaraman
  • 2
1 Solution
 
JoeisanerdCommented:
I haven't played with the SQLCE stuff yet, but I do know that you can store your database in an xml file and load that. It loads slow with Pocket PC 2002, but goes faster on the latest pocket pc version.

As far as SQLCE goes, I thought it was suppose to allow you to have a disconnected subset of the data stored on the pda.
0
 
JoeisanerdCommented:
Check this link out, it has a doanload with the source code. I think I'll take a look at as well.

It's in VB.net, but since they are so alike it should be easy to figure it out.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnroad/html/road05222002.asp
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now