Visual Studio Development Bookmark and Share   
 index > Visual C++ Express Edition > accessing .csv file in windows forms
 

accessing .csv file in windows forms

hi,

can anyone tell me how to access a .csv file into a windows form..Also i want to know how a textbox data can be saved into another variable in the code.

e.g i have something called name taken into the textbox from a file, how to asign it to another variable in the code for further manipulations.

thanq

Anonymous7257  Friday, March 30, 2007 5:59 PM

You need to parse the file by yourself or use a database engine.

To parse the file, read the file line by line, split each line with commas.

To find a database engine, visit www.connectionstrings.com/?carrier=textfile.

Sheng Jiang 蒋晟  Friday, March 30, 2007 7:19 PM

You need to parse the file by yourself or use a database engine.

To parse the file, read the file line by line, split each line with commas.

To find a database engine, visit www.connectionstrings.com/?carrier=textfile.

Sheng Jiang 蒋晟  Friday, March 30, 2007 7:19 PM

thanq

but can u tell me how it is done with an example.

Anonymous7257  Friday, March 30, 2007 8:07 PM

You can use google to search for other answers

Custom Search

More Threads

• Connect access database to visual c++
• .rc templates
• Visual C++ 2008 (Express) has no win32 application wizard
• TextBox Hexadecimal Number Filter
• Is any future of VC++?
• declaring arraylist
• help me to make my dll
• Deploying with Windows Installer
• Using fopen in VC++ Express
• How do I pipe input from a file when debugging within Visual C++?