I am using MVC3. I am showing some content and chart(chart using jqplot) in a view. Now I want to export the content and chart to excel. I’ve already done exporting content to excel. Now I want to add image to excel. I’ve already converted chart to image and assigned as a source to one image in a view. Now is it possible to add that image to excel content from controller by taking that image source and something like that?
Share
You can try to use EPPlus library http://epplus.codeplex.com/.
You do not need to convert chart to image and insert it into Excel, you can create chart with this library same as one in your app.
Example of adding image to Excel using EPPlus (this is only example, not full code):