Last post Sep 28, 2017 01:26 PM by Eric Du
Sep 28, 2017 05:36 AM|atulnaik123|LINK
I have one placeholder and chart will be bind from backend. I want export this placeholder with graph in excel sheet. below are the code.
Can we export placeholder with graph in excel sheet.
StringWriter stringWrite = new StringWriter();
HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
StreamReader sr = new StreamReader(Server.MapPath("../CSS.css"));
string s = sr.ReadToEnd();
Sep 28, 2017 01:26 PM|Eric Du|LINK
According to your description, I am not clear what error you meet of your code or what result you want to get? So I hope you could post you wanted result in image format(result in excel).
Here are some links about how to export the chart to excel, please check:
Export ASP.Net Chart Control to Excel File with Caption using C# and VB.Net:
Export to Excel Functionality in ASP.NET Chart Control: