473,480 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Put ASP .NET Web Form Data Into a .PDF file

Please help!

My client has a .PDF file which he prints and uses as a template for a
rental agreement contract. He would like me to create a web app that will
take some data from a database as well as data from an ASP .NET Web Form and
insert those values into various locations in the .PDF file. The dynamic
data would be like contract number, name, address and such.

I've added Adobe Acrobat form fields (textboxes, radio buttons and such) to
the rental agreement .PDF file via Adobe Acrobat Pro V6.0. Is there a way
to access those fields via code? Or, is there a way to just provide X,Y
coordinates of where to write the text to the .PDF file? Is there a better
solution/approach?

Can anyone suggest how I can best accomplish this using ASP .NET (and
possibly some other 3rd party tool)? He doesn't have a large budget for
this, so cost is a concern too.

I'm relatively new to ASP .NET development so please keep that in mind...
I've worked as a classic ASP developer for over 5 years though...

Anything you can offer would be appreciated.

Thanks,
Rigs
Aug 22 '06 #1
2 1454
Rigs,

see if this helps. http://sourceforge.net/projects/itextsharp/

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Rigs" wrote:
Please help!

My client has a .PDF file which he prints and uses as a template for a
rental agreement contract. He would like me to create a web app that will
take some data from a database as well as data from an ASP .NET Web Form and
insert those values into various locations in the .PDF file. The dynamic
data would be like contract number, name, address and such.

I've added Adobe Acrobat form fields (textboxes, radio buttons and such) to
the rental agreement .PDF file via Adobe Acrobat Pro V6.0. Is there a way
to access those fields via code? Or, is there a way to just provide X,Y
coordinates of where to write the text to the .PDF file? Is there a better
solution/approach?

Can anyone suggest how I can best accomplish this using ASP .NET (and
possibly some other 3rd party tool)? He doesn't have a large budget for
this, so cost is a concern too.

I'm relatively new to ASP .NET development so please keep that in mind...
I've worked as a classic ASP developer for over 5 years though...

Anything you can offer would be appreciated.

Thanks,
Rigs
Aug 22 '06 #2
Found my own solution. Check iTextSharp on sourceforge.net

"Rigs" <ri****@yahoo.comwrote in message
news:XW***************@newsfe02.lga...
Please help!

My client has a .PDF file which he prints and uses as a template for a
rental agreement contract. He would like me to create a web app that will
take some data from a database as well as data from an ASP .NET Web Form
and insert those values into various locations in the .PDF file. The
dynamic data would be like contract number, name, address and such.

I've added Adobe Acrobat form fields (textboxes, radio buttons and such)
to the rental agreement .PDF file via Adobe Acrobat Pro V6.0. Is there a
way to access those fields via code? Or, is there a way to just provide
X,Y coordinates of where to write the text to the .PDF file? Is there a
better solution/approach?

Can anyone suggest how I can best accomplish this using ASP .NET (and
possibly some other 3rd party tool)? He doesn't have a large budget for
this, so cost is a concern too.

I'm relatively new to ASP .NET development so please keep that in mind...
I've worked as a classic ASP developer for over 5 years though...

Anything you can offer would be appreciated.

Thanks,
Rigs


Aug 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2975
by: lawrence | last post by:
I'm trying to read up on the rfc's that govern form inputs. Much of what I'm reading is stuff I didn't know before and some of it is alarming. This one left with me questions: ...
10
19306
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
8
12204
by: Du | last post by:
I'm trying to automate the upload process to yousendit.com, but the file size doesn't add up and yousendit.com keep rejecting my upload (it accepts the upload until the very end) I don't know...
4
4559
by: Alex Sibilev | last post by:
Hello, I have a really weird problem I've been trying to solve it without any luck for the last couple of hours :( I'm writing a "conference board" application (quite similar to ASP.NET...
9
3126
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to the other page, but how do I send a file to the...
7
17248
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
13
69975
by: deko | last post by:
I have a basic feedback form with a submit button. After the "send" button is clicked, I want the user to be redirected to a different page that says "Your message has been sent." How do I do...
10
2395
by: eggie5 | last post by:
Is it possible to get a file without using a form post? I want to get the data (bytes) of a file, text or binary, and just save it to a variable. Similar to the post body of a form that has a...
3
6035
by: jeremy.gehring | last post by:
Hey all, OK I'm not much of a PHP programmer; but needs must as they say. I have written AJAX file upload system that uses a PERL CGI script so that a PHP script can get the progress (nifty...
1
9676
by: starter08 | last post by:
Hi, I have a C++ routine(client-side) which uploads an xml file to a web server by making a socket connection and sending all the post request through that socket. On the server side I have a cgi...
0
6915
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7097
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3003
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2993
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
567
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.