問題描述
有任何適用於 ASP.NET 的免費 PDF 或圖表生成器嗎? (Any free PDF or chart generators for ASP.NET?)
What are the best free PDF and chart generators for ASP.NET?
參考解法
方法 1:
For PDF:
- PDFjet Open Source Edition
- Sharppdf
For Charts: [
Open Flash Chart
dHTMLx Chart (It is to recommend!)
方法 2:
If you are interested in creating a chart, putting it on an ASP.NET webform, and allowing a user to view it as PDF, for free, it's hard to beat SQL Reporting Services ReportViewer controls.
You can use Visual Studio to design the charts, put them in .rdlc files, then host those .rdlc files in a ReportViewer control. The report is initially rendered as HTML, but you can allow a user to export these as PDF, CSV, Excel, or other formats.
If you only want to create charts you can also use the ASP.NET Charting Controls, which require a bit more work but produce some impressive results.