PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Database usage by a program

I am currently in my last year at collage, and for my groups senior design project we have to write a grocery store budget tracker. Its pretty much a glorified grocery list, but my advisor wants to make it much more. He suggested we use a relational database to store the data.

I was wondering if anyone had any experience with pocket pc's and programming databases. I have experience using SQL and XML querys in java on a windows XP system, but I dont really know anything about the pocket pc's database capeablities.

I guess what I am really looking for is if anyone knows an easy way to create and query relational databases on the pocket pc. I would prefer XML, but anything standard would be ok.
Unless the compact framework version of .NET was stripped of its database capabilities, I'd use it. Whether you use XML or SQL makes no difference, it's a snap to throw together. Guessing from your description though (rational database), you'll want to go with SQL over XML.

Do a search on MSDN, see what you can dig up.
I'd suggest sqlite; its lite and free. More importantly it's portable so you can code/test on the desktop without the need for an emulator. It has been ported to WinCE a number of times (I myself has ported it 1.5 times). I would check out http://sqlite-wince.sourceforge.net/.

I built a console terminal monirot with this version for my MIPS device, its also know to build under x86 and ARM.

I've been meaning to build the python sqlite module under WinCE but I just haven't had time to look at it.

Chris