Pergunta

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

Foi útil?

Solução

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);
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top