using (StreamReader readFile = new StreamReader(filepath))
{
string line;
while ((line = readFile.ReadLine()) != null)
{
textBox1.Text = textBox1.Text + line + Environment.NewLine;
}
}
This is what I have so far. I have tried using .Split to try to seperate them but do not know much about it.
So far of course all this does is show the what is in CSV to the textbox. What I am trying to do it ignore say the first three columns then read the next three then ignore the last three.
Was thinking of putting each row into an array then spliting it that way but can't figure out how to do that either.
Any help would be awesome.
Thanks