This is the method I’m using:
http://www.c-sharpcorner.com/uploadfile/yuanwang200409/how-to-convert-xls-file-into-csv-file-in-C-Sharp/
And it works for every other file, but for this one file it just gets one column even though it has six columns. The file is xlsx (Excell 2007). But I don’t think it’s the problem.
When I’m converting the file manually, it works just fine.
The problem was that the excell file;s first row didn’t have titles. I don’t know why, but once I added an extra row for titles – it was fixed.