I use C# nearly 3 years now.
And I always used to save something in a textfile and read it later -_-"
Currently I'm using a ini file. It is more comfortable if I know what I'm searching for.
But now I was wondering if there is any kind of database? (Except MS Access files)
Because I have multiple datas that could be saved in a table.
Also is there a way to make it unreadable like a bin file?
Or if you can tell me something completly different let me know.
Thanks!
Sam HobbsPosted Feb 2, 2011, 11:54 AM
Sascha BPosted Feb 3, 2011, 2:40 AM
Sascha BPosted Feb 2, 2011, 4:01 AM
Sam HobbsPosted Feb 1, 2011, 12:02 AM
It is not clear how much data you need to store. You are asking about databases so I assume the data is more than what is normally stored in config files. Yes you can use a database table but if that is the only thing you need a database for, then perhaps a database table would be an innefficient solution. A good compromise might be to use a XML file that is not a config (Settings) file. A lot depends on your requirements and you have not adequately described the requirements for us to be clear in an answer.
Sascha BPosted Jan 31, 2011, 9:35 AM
Mahesh ChandPosted Jan 31, 2011, 9:30 AM
Is is just pure data or contents such as text, images, and others?
XML is a way to store data that is easier to parse and read back. Definitely better than INI formats.
INI is used to store an application settings that is now replaced with app.config or web.config files depending on your application.