如何在PDF(使用表单字段)中使用C#和SQL插入动态值 [英] How can I insert dynamic values in PDF (using form fields) with C# and SQL

查看:111
本文介绍了如何在PDF(使用表单字段)中使用C#和SQL插入动态值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个示例注册表单(C#和SQL)并将值存储在我的数据库中。现在我正在尝试使用该pdf文件中的表单字段将这些值(动态)插入到我现有的PDF文件中。 PLS。帮我解决这个问题。



我尝试过:



我正在使用C#过程将值存储在SQL中。但是我不知道如何使用表单字段将这些值捕获到现有PDF文件中。

I have an sample registration form (C# and SQL) and storing the values in my database. Now i'm trying to insert those values (dynamic) into my existing PDF file using form fields in that pdf file. Pls. help me to fix this issue.

What I have tried:

I'm using C# procedure to store the values in SQL. But I'm not aware how to capture those values into existing PDF file using Form Fields.

推荐答案

好吧,我没有尝试过这么做但是很简单谷歌搜索产生了很多做类似事情的结果。

请查看以下链接 -

使用开源iTextSharp DLL填写PDF表单字段 [ ^ ]

c# - 使用Itextsharp填充PDF表单 - 堆栈溢出 [ ^ ]



希望,它有帮助:)
Well, I haven't tried to do this earlier but a simple google search yielded in many results of doing similar things.
Please have a look at following links-
Fill in PDF Form Fields Using the Open Source iTextSharp DLL[^]
c# - Fill PDF Form with Itextsharp - Stack Overflow[^]

Hope, it helps :)


这篇关于如何在PDF(使用表单字段)中使用C#和SQL插入动态值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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