Solved

PDF reports from asp.net (VB) uisng Visual Web Developer 2005 Express

Posted on 2008-06-10
3
626 Views
Last Modified: 2008-08-09
Hey EE,
I have an SQL database driven web app. The input/search/screen display part is complete and now I am down to the last part. I want to take the data that has been entered into the database and generate a pdf report for the user to print/save/transfer/etc. I want the report to ONLY be available to the user as a pdf file (ie: I want them to click "PDF BUTTON" on an aspx page and a pdf will be opened in a new window for them to review/save/print)

Here is a link to what the form will look like (without the data fields filled in):
http://www.mediafire.com/?d0xwlzyry3z

If there are more violations, the form may go to another page on the pdf report. How should I do this? I would like it to be as efficient as possible...

Remember, I am using vb!
0
Comment
Question by:dswett2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Anurag Agarwal
ID: 21756531
The best way i can think of to your problem is through sql server reporting services.

What you need to do is to create a report through sql server reporting services. the report will be same as your aspx page is looking.

When the user will click on show pdf you can open a popup and from this popup you need to call the reporting service web service requesting to run the report. Now reporting service will convert that report output in pdf format by setting some parameters.
You need to save that pdf on your webserver . then again read it from that location & show it in browser.

This is bit complex to implement but it will solve your problem.

Anurag
0
 

Author Comment

by:dswett2
ID: 21782775
Where can I get SQL Server Reporting services? Is it open source? Do I get it with SQL server?

Also, I don't really want to save a copy of the pdf to the server... there will be tens of thousands of them and they are pretty much useless to store. I want them to be generated on the fly and downloadable.

Solution suggestions from others are still welcome...
0
 
LVL 11

Accepted Solution

by:
Anurag Agarwal earned 500 total points
ID: 21828934
you will get the SQL Reporting Services along with sql server.

You will get a memory stream from reporting web services. Now it is up to you what way you want to show to the user.

Anurag
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question