HTML从数据库到PDF [英] HTML from Database to PDF

查看:71
本文介绍了HTML从数据库到PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用asp.net从html动态生成pdf。 HTML存储在数据库中。 HTML有表格和CSS,最多10页。我通过直接传递html来尝试iTextSharp

[link] ,它生成的pdf没有打开。 Desinationpdf.codeplex.com没有文档,它生成PDF但是来自父页面的样式。



任何其他解决方案都会有所帮助。



问候,



Bala

I need to generate pdf from html dynamically using asp.net. HTML is stored in database. HTML has tables and css, upto 10 pages. I have tried iTextSharp by directly passing html
[link], it produces pdf which is not opeining. Desinationpdf.codeplex.com has no documentation, it produces PDF but with styles from parent page.

Any other solution will be helpful.

Regards,

Bala

推荐答案

试试

使用ASP从HTML页面生成PDF文档.NET [ ^ ]

将ASP.NET内容呈现为PDF [ ^ ]


这篇关于HTML从数据库到PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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