Some questiones from a beginner...
Hello all,
I´m new to C# and I´m still studying the beginners tutorials. Anyway, sometimes the fingers are quite faster than the required knowledge... Well, after completing my first applikation, a simple color calculator I would like to ad some features. My question:
How can I import data from a color-measurement file (a simple text file) into a windows form? What form-element should I use? How can I sort the data?
I would be greatfull for any possible hints -even if it means that I have to spend mutch more time with the tutorials ;)
Kind Regards
Vladimir
VladimirPosted Dec 28, 2006, 6:23 AM
Mahesh ChandPosted Dec 27, 2006, 4:10 PM
http://www.c-sharpcorner.com/Language/CSAndTypesGAG.asp
It depends on how do you want to display/use data read from the text file. Once data is read from the text file, you can store it in a DataTable or other objects and use the way you want.
If your text file is going to store the settings, you may want to use app.Config file for that, which provides XML format to store key and values and use Configurations class to read values from the app.config.
Hope it helps.