Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Update on the question below:
I used this article[^] to save the values to a CSV-file. I've really got a bunch of values to store, so that will mean that I have to write a bunch of columns (that's not the problem). So my question is, is there a maximum for the columns in a CSV-file, or does the fact that I've got so much columns not matter?

Thanks in advance.

Original question:
I've created a program which calculates various naval stuff. Now is the time to save the users input, the calculations and the outcomes. Thing is, my colleagues need to calculate for different clients, for which they create different project-numbers. So I want to save all the values of my program, for these various projects. I will show the projects as start screen, in a DataGridView. Based on the selected item, the program must load the values.

I've taken a look at a previous solution from someone else, using a database for this, but my question is: is there anyway to do this, without the use of a database. Because I'm new to databases and not so experienced in C# as well. So if anyone has a tip, reference or small example, I appreciate it.
Posted
Updated 19-Nov-12 22:00pm
v2

There may be practical limits such as, file size, time taken to read/write etc.
But other than that there is no limit.

Another, possibly better solution might be to use XML. It will give greater flexibility, but also be slightly more complex.
 
Share this answer
 
Comments
Frans Jan 20-Nov-12 10:24am    
Thanks for the answer and tip about XML. I gave it a try, but it turns out, the best way is to use a database. So I will put my focus on that.
you should read this links
Link
Link
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900