Question

create CSV file in c#net Window application at button click event

Was it helpful?

Solution

You can use simple string or stringbuilder to construct CSV File. I can give pseudocode :

string csvString = "";
for each column in row
    csvString += column.value + ","

writeToFile(csvString,filePath);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top