Hi,
I have a parser function written in my code-behind file, that takes as input the filename of a csv file, and parses the data accordingly. In the current scenario, I am supplying the name of the csv file.
In a newer scenario, I would like to scan a particular local directory for csv files, and pass all of them to the parser function one by one.
My current function looks like this:
public List<string[]> parseCSVFile(string path)
{
...
}
and I'm calling it like this:
List<string[]> Data = parseCSVFile("C:\\Users\\joysteak\\Documents\\Visual Studio 2008\\WebSites\\Ingy\\data\\results2010.csv");
Any help is much appreciated :)