I need to read all of .txt file and save data to array/list. File looks like this:
row11 row12 row13
row21 row22 row23
row31 row32 row33
between strings are only spaces.
Next I will insert data from array/list<> to mysql, but it is not problem. Thanks.
EDIT: I need insert 3 columns to mysql like .txt file.
StringReaderand splitting on the space, while removing entry entriessomeLine.Split(new string[] {" "}, StringSplitOptions.RemoveEmptyEntries);