Hi Friends,
In dialog screen if i click on Okay button multiple CSV should export into one zip file based on the country code.
Currently i am able to export one csv file into ZIP file using below code.
System.IO.MemoryStream zipStream;
DataExcelOutput excelOutput = new DataExcelOutput(_contract);
using (System.IO.Stream output = excelOutput.generateStatement())
{
str filename = strFmt('%1%2',"Test",xlsx);
// cteate zip file stream
zipStream = CreateZipFile::create(output, filename);
}
str filename = strFmt('%1%2',"Test", zip);
File::SendFileToUser(zipStream, filename);
But i want to export multiple CSV file based on country code into one ZIP file.
Regards,
Rahul


Report
All responses (
Answers (