Need sample code to generate CSV from multiple datatables

Hi Team,

Currently i’m struggling to generate a CSV with multiple tabs/sheet in the same CSV sheet . I have a data set with more than one data tables , which need to be generated multiple sheets in the same CSV file.

Please Share with me C#.Net sample code

Regards,
PrabakaranJ

@prabakaranj,

Thanks for your query.

I am afraid, this is not possible. A CSV file format can have only single sheet in it. How could you create a CSV file with multiple sheets/tabs in it in Ms Excel? If you are successful, let us know with details and sample (desired) CSV file, we will check on how to do it via Aspose.Cells APIs.