create CSV file in c#net Window application [closed]
-
28-09-2019 - |
Question
create CSV file in c#net Window application at button click event
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