Click here to Skip to main content
15,894,050 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to generate multiple excel sheet inside one workbook using LIST

for one sheet and excel file generation I have used this code project link.

MVC Grid to Excel file download[^]

what should I do to generate excel from LIST with multiple sheets?
Posted

1 solution

If this is a beginner question about LIST, the answer is learn to work with lists, what you probably want to do is to iterate over a list and add worksheets.

If this is a question about how to add a worksheet, see this http://stackoverflow.com/questions/193092/c-sharp-how-to-add-excel-worksheet-programatically-office-xp-2003[^]

and, as always, I would like to recommend you using the Open XML 2 SDK instead of Excel automation, because it will work even if Excel is not installed...

have fun.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900