Click here to Skip to main content
15,896,359 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am exporting table data and want to export image too. My data is exporting but not formatted means it exporting like table but i want how we manuly write in excel sheet. And i dont know how to dsplay image in excel?

What I have tried:

//my code
Data = new Blob([dataToBeEportedHTML], { type: 'data:application/vnd.ms-excel'}); //it is a html table data

C#
var Url = URL.createObjectURL(Data);

        var link = document.createElement("a");
        link.href = Url;
        link.style = "visibility:hidden";
        link.download = fileName;
Posted

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