4
Answers

Problem in exporting xlsx to pdf

Majid Kamali

Majid Kamali

13y
4.6k
1
Hi.
I wrote a program that creates an excel file and at the end of that file, it creates a chart from that data.
Then I export that file to pdf via ExportAsFixedFormat method but it just exports that chart to pdf.
How can I export the whole page to pdf?
(I use Office 2007)

Thanks
Answers (4)
0
varun goparaju
NA 2 0 13y
Dataset ds=new Dataset();
ds.ReadXml("path of xml file");
Gridview1.Datasource=ds;
Gridview1.DataBind();