David Brunelle
David Brunelle

Reputation: 6450

Which Type of data to use for a small project

I have a personnal project. In your opinion, which type of data structure I should use (text file, xml, other) ?

Here are the main points of my project : - Can't really use any database server since it's for a personnal use and I don't want to install anything else than the software itself; - I got a small numbers of object class which I will need to store (15 max); - If it makes any differences, I will use WPF to design the interface.

I was thinking about using XML files. I could use XMLSerialiser for that but I don't really know a lot about those I also though about a mdb database but since the driver for mdb file is not longer designed in 64bit (or so I heard), I don't think I can really use it since I believe accdb file requires the installation of a driver into each computer I will install and I don't want that. If not, then I guess accdb would be my second choice.

Any idea ?

Upvotes: 0

Views: 119

Answers (2)

CodeMan
CodeMan

Reputation: 1405

Why don't you consider using something like SQL Server Compact. This will allow you to package a small database file along with your application and you wont need to install anything extra.

http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx

Upvotes: 4

user505255
user505255

Reputation: 320

It's hard to say without more information, but SQLite is a small fast SQL database that doesn't require any software to be installed. .NET support is provided by System.Data.Sqlite.

I've used this software in a small project before, and it worked very well for me.

Upvotes: 4

Related Questions