如何将数据表导出为ex​​cel 2007和从asp.net的pdf? [英] How I can export a datatable to excel 2007 and pdf from asp.net?

查看:176
本文介绍了如何将数据表导出为ex​​cel 2007和从asp.net的pdf?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用asp.net应用程序中的数据库中的数据在Excel和PDF中绘制图形。
我不想使用com对象,所以我一直在使用Open Xml Sdk从模板文件构建excel文件,并将响应重定向到生成的新文件,但我不知道如何使PDF文件...
我接受任何有关如何在我的网络应用程序中生成pdf文件的任何意见...
感谢投入阅读的时间...

I have to make reports with graphics in Excel and PDF from data in a database in an asp.net app. I don't want to use com objects so I have been using Open Xml Sdk to build the excel file from a template file and redirect the response to the new file generated but I don't know how to make the PDF file... I accept any comments about how I can generate the pdf file in my web app... Thanks by the time invested reading this...

推荐答案

请访问本网站以获取pdf。

go to this site for pdf.

http://itextsharp.sourceforge.net/

这篇关于如何将数据表导出为ex​​cel 2007和从asp.net的pdf?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆