Answered by:
Export excel with dynamic formatting from ASP.NET

Question
-
Hi,
I am working on an ASP.NET 4.0 website. I want to export data from database to excel from the website.
I do not want to use Microsoft Interop excel dlls since it requires excel on the webserver.
I want to export the data to excel and format the excel cells dynamically. (Font, Color coding, Merging cells and calculation)
How to format the excel cells dynamically based on the values in the cells without Interop dlls? Any suggestions or links to excel formatting would be helpful.
Thanks
Ashok- Moved by Kristin Xie Monday, April 13, 2015 7:47 AM
Tuesday, April 7, 2015 2:53 PM
Answers
-
Hi
I want to export to Excel 2013 (xlsx file) from ASP.NET website.
Thanks
Ashok
Hi Ashok,
For questions related Asp.Net should be posted in Asp.Net forum where you can contact ASP.NET experts.
I've just do a quick search in the internet. A similar thread like yours
http://forums.asp.net/t/1768549.aspx?This+is+how+to+export+data+from+ASP+Net+database+into+Excel
If above solution still not resolve your issue,Please reopen a new thread in that forum. Thanks for your understanding.
Best regards,
kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Monday, April 13, 2015 7:46 AM
All replies
-
Which file format are you referring to?
File format reference for Word 2013, PowerPoint 2013, and Excel 2013
Have a look here:
Create Excel (.XLS and .XLSX) file from C#
[MS-OE376]: Office Implementation Information for ECMA-376 Standards Support
Armin
- Edited by Armin Zingler Tuesday, April 7, 2015 3:08 PM link added
Tuesday, April 7, 2015 3:01 PM -
Hi
I want to export to Excel 2013 (xlsx file) from ASP.NET website.
Thanks
Ashok
Tuesday, April 7, 2015 3:05 PM -
Hi
I want to export to Excel 2013 (xlsx file) from ASP.NET website.
Thanks
Ashok
Hi Ashok,
For questions related Asp.Net should be posted in Asp.Net forum where you can contact ASP.NET experts.
I've just do a quick search in the internet. A similar thread like yours
http://forums.asp.net/t/1768549.aspx?This+is+how+to+export+data+from+ASP+Net+database+into+Excel
If above solution still not resolve your issue,Please reopen a new thread in that forum. Thanks for your understanding.
Best regards,
kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Monday, April 13, 2015 7:46 AM