asp.net表格到pdf转换代码 [英] asp.net form to pdf convertion code

查看:88
本文介绍了asp.net表格到pdf转换代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i需要asp.net表格代码为pdf文件


i need code for asp.net forms to pdf files

推荐答案

你好Vindhyarani,



ASP.NET表单是生成HTML以发送到客户端的服务器端表单,使用auoto(和self)生成的Javascript代码来支持操作和客户端 - 服务器操作。



底线是客户端浏览器知道如何处理HTML和JS,而不是PDF!

但是有些浏览器可以做支持PDF(如Chrome),当有人点击PDF文件,而不是将其下载到预设下载文件夹时,它将显示在浏览器中。



you可能会找到一个浏览器插件,将浏览器页面转换为PDF,但再次说只有客户端





干杯,

Edo
Hi Vindhyarani,

ASP.NET forms are server side forms that generate HTML to send to the client side, with auoto (and self) generated Javascript code to support operations and client-server operations.

Bottom line is that the client side browser knows how to handle HTML and JS, not PDF!
Some browsers however, do support PDF (like Chrome) and when someone clicks on the PDF file, instead of just downloading it to the preset download folder, it will show in the browser.

you might find a browser plugin that will convert the browser page to PDF, but again that''s only client side


Cheers,
Edo


示例:

创建PDF文档ASP.NET中的nts [ ^ ]

使用ASP.NET和iTextSharp创建pdf文档 [ ^ ]

http://www.developerfusion.com / code / 4266 / how-to-create-pdf-files-from-aspnet-pages / [ ^ ]

http://weblogs.asp.net/ sreejukg / archive / 2011/03/07 / create-pdf-document-using-itextsharp-in-asp-net-4-0-and-memorymappedfile.aspx [ ^ ]

没有安装在客户端或服务器上的Acrobat Reader的ASP.NET PDF Viewer用户控件 [ ^ ]

使用ASP.NET和iTextSharp填写PDF表单 [ ^ ]
Examples:
Creating PDF Documents in ASP.NET[^]
Creating pdf documents with ASP.NET and iTextSharp[^]
http://www.developerfusion.com/code/4266/how-to-create-pdf-files-from-aspnet-pages/[^]
http://weblogs.asp.net/sreejukg/archive/2011/03/07/create-pdf-document-using-itextsharp-in-asp-net-4-0-and-memorymappedfile.aspx[^]
ASP.NET PDF Viewer User Control Without Acrobat Reader Installed on Client or Server[^]
Filling in PDF Forms with ASP.NET and iTextSharp[^]


这篇关于asp.net表格到pdf转换代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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