在.net中生成和保存pdf文档 [英] Generating and saving pdf documents in .net

查看:79
本文介绍了在.net中生成和保存pdf文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在SQL Server中有一个表,用于创建向客户的标准化信件.
该表包含有关客户的常规数据,例如客户名称,地址,电话号码,传真号码,城市和邮政编码.表中大约有1000位客户.

现在,我需要为每个客户从pdf格式的表中产生一个单独的字母(使用SQL Server中的表中的数据)并将其保存到本地计算机上的指定位置(d:\ CustomerLetters \ pdf \). >
如何一次为所有客户执行此任务?

请帮忙.

预先感谢您的时间和精力.

Almir

Hi,
I have table in SQL Server that I use for crating standardized letter to customers.
Table contains general data about customers like CustomerName, Address, Phone Number, Fax Number , City and ZIP code. There are around 1000 customers in table.

Now, I need to produce a separate letter for each of customers from table in pdf format (using data from table in SQL Server) and save it to the specified location on local machine (d:\CustomerLetters\pdf\).

How can I do this task for all customers at once?

Please help.

Thank you in advance for your time and effort.

Almir

推荐答案

使用IText Sharp.它将满足您的所有需求
Use IText sharp.It will fulfill your all needs


这篇关于在.net中生成和保存pdf文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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