如何在asp.net中使用css将表转换为PDF [英] How to convert Table into PDF with css in asp.net

查看:58
本文介绍了如何在asp.net中使用css将表转换为PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在asp.net中用CSS转换表。

How to convert Table with CSS in asp.net.

推荐答案

多么巧合。我在工作中解决了类似的问题,我今天在CP上回答了很多问题:)



基本上你必须使用像 iText [ ^ ]#(以及 XMLWorker [ ^ ])



如果是这样的话不适用于您的css类型(在某些情况下可能不适用),那么您可能需要使用 EO等付费服务。 pdf [ ^ ]绝对精彩且价格昂贵。



[请接受/投票给你的答案或解决方案,以鼓励他人]
What a coincidence. I am solving a similar problem at work and I answered quite a few questions on the same today on CP :)

Basically you will have to use plugins like iText[^]#(along with XMLWorker[^])

If that doesn't work for your type of css (it may not in certain cases) then you may need to use a paid service like EO.pdf[^] which is absolutely fantastic and expensive.

[Please accept/up-vote answers or solutions that work for you to encourage others]


- 尝试 PDFSharp [ ^ ]而不是iTextSharp



- 或创建一个具有相同表格的RDLC报告,然后免费将其导出为PDF,DOC,XLS。 http://www.gotreportviewer.com/ [ ^ ]
- Try PDFSharp[^] instead of iTextSharp

- Or create a RDLC report featuring the same table, then export it to PDF, DOC, XLS for free. http://www.gotreportviewer.com/[^]


这篇关于如何在asp.net中使用css将表转换为PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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