Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# CSV WinForm intern
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 19-Nov-12 3:15am
Frans Jan2.2K
Edited 19-Nov-12 23:00pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
Frans Jan at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

you should read this links
Link
Link
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 555
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,466
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,897


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 20 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100