Hello all,
I am new to C# programming. Kind of learning things on the fly. I am writing a windows service program thats going to read from a text file and update a database table.
The text file consists of 2 colums, the field name and the value. I am having a hard time looking for a place to begin.
Any suggestions? Any help would be appreciated. Just looking for a place to begin. Should I read each line and use the substr method..i am stuck.
Might sound kind of easy to you guys but i am a beginner so having a hard time. Thanks again in advance.
Reading a text file with 2 columns
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Dec 2, 2006, 2:29 AM EST
Can you give a little more information on format of the file. You said it was a text file so is the format something like this:
Text + tab + Text + linefeed/carriage return
or is it something like (a tab delimited file):
text + tab + text + tab + text + tab ...