Hi Guys
Will somwonw help mewith exporting multiple div tags with data to ms excel sending the data to multiple spreadsheets??
Thanks in advance.
Godfrey
You can export to one Spreadsheet at a time
http://www.aspsnippets.com/Articles/Exporting-Multiple-GridViews-To-Excel-SpreadSheet-in-ASP.Net.aspx
If you need multiple files you will need to use Office Inetrop excel library
Refer here
http://www.aspsnippets.com/Articles/Save-GridView-to-Excel-Sheet-on-servers-disk-using-ASPNet.aspx
Using this article one by one save the DIV tags to different sheets
And then you can allow user to download multiple files
Thanks Mudassar, if I follow you very well, you mean I can only save one file per sheet and then the user will have to download each file per spreadsheet.
Yes Correct. This is the only solution as you cannot download multiple files together.
Other option is you can zip them and then allow user to download
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.