473,320 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Using objects to print pdf report?

I have a web application. There's 1 part whereby I'll show a list of items
(order). I did this by using classes and objects. I defined my own classes
(called orderitem and ordermanager), and my aspx file just call the
ordermanager to connect to the SQL 2000 server, perform stored procedure, get
the required data and convert them into orderitem and push them into an
arraylist. Finally it will return this arraylist and my aspx file just read
each orderitem in it and print their details out.

Now i want to put a checkbox beside every orderitem and then, after user
make their selection, they can press a "print to pdf" button to generate a
pdf file. Is that possible? It seems very difficult.
Nov 19 '05 #1
2 1091
to generate pdf use a library called itextsharp, search for it on google.
Its not exactly simple to get you head around, but it does work, I used it
on a number of occasions.
"wrytat" <wr****@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
I have a web application. There's 1 part whereby I'll show a list of items
(order). I did this by using classes and objects. I defined my own classes
(called orderitem and ordermanager), and my aspx file just call the
ordermanager to connect to the SQL 2000 server, perform stored procedure,
get
the required data and convert them into orderitem and push them into an
arraylist. Finally it will return this arraylist and my aspx file just
read
each orderitem in it and print their details out.

Now i want to put a checkbox beside every orderitem and then, after user
make their selection, they can press a "print to pdf" button to generate a
pdf file. Is that possible? It seems very difficult.

Nov 19 '05 #2
Thanks. Do I need to acquire license for using it? It is stated there that
it's free though.

"Josh" wrote:
to generate pdf use a library called itextsharp, search for it on google.
Its not exactly simple to get you head around, but it does work, I used it
on a number of occasions.
"wrytat" <wr****@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
I have a web application. There's 1 part whereby I'll show a list of items
(order). I did this by using classes and objects. I defined my own classes
(called orderitem and ordermanager), and my aspx file just call the
ordermanager to connect to the SQL 2000 server, perform stored procedure,
get
the required data and convert them into orderitem and push them into an
arraylist. Finally it will return this arraylist and my aspx file just
read
each orderitem in it and print their details out.

Now i want to put a checkbox beside every orderitem and then, after user
make their selection, they can press a "print to pdf" button to generate a
pdf file. Is that possible? It seems very difficult.


Nov 19 '05 #3

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

Similar topics

1
by: Joris Kempen | last post by:
Hi people, I know that the question has come around sometimes: How to open an Access Report using ASP and export it to for example RTF. I'm trying to implement the first method of David...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
3
by: mehul | last post by:
Hi, I am trying to use Active Reports v1.1 (Build 1.1.0.84) in a ASP.NET application. Is it possible to use it through the COM interlop as Crystal Reports for .NET which comes built in with...
5
by: RyanN | last post by:
Hello, I'm trying to teach myself OOP to do a data project involving hierarchical data structures. I've come up with an analogy for testing involving objects for continents, countries, and...
25
smithj14
by: smithj14 | last post by:
I have a form that has an option group (fraReports) which holds a list of reports to print. This part works fine. I select a report name and click print and that report opens. Now I want to add a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.