10
Answers

reading from text file: each line in seperate array?

Ask a question
vin lantwert

vin lantwert

14y
4.9k
1
Hello,

I am very new to programming so please bare with me. I need to make a program that can read a .txt file and store each line in an array, so i can use some of its contents later (store in a database). Is this possible? and how would i go about doing that. I have tried with the streamreader and then making each line a list item, but then it wont let me convert to array. i would really like some help here, TNX!


Answers (10)