Reading Data from files
-
I’m trying to design a simple forms program in C# that allows the user select something from a combo box and have the program reference the data in a file pertaining to the users selection. The data would then be displayed back on the form in a text box. I have the combo box already loaded up with items and i have the files ready to be accessed. How do I access the files from the user selection? Regards, Peter
-
I’m trying to design a simple forms program in C# that allows the user select something from a combo box and have the program reference the data in a file pertaining to the users selection. The data would then be displayed back on the form in a text box. I have the combo box already loaded up with items and i have the files ready to be accessed. How do I access the files from the user selection? Regards, Peter
check out the
System.IO
namespace, lots of useful classes such asFileStream
for reading and writing files. :) Another Post by NnamdiOnyeyiri l Website