PDA

Click to See Complete Forum and Search --> : ASP.NET and reports


MrNorth
Jan 14th, 2003, 08:27 PM
Has anyone here used Crystal reports used with ASP.NET? I have already created the report in crystal reports 9. But now I want to be able to view it and insert parameters from a webpage. I have two webforms called "crystalreportsviewer" and "crystalreportspartviewer". But I am uncertain how to properly use them. How should the user input the parameters? Should I use some forms and then pass them to the report webcontrol? Or is the input incorporated into the control itself?

kind regards
Henrik

robdotnet00
Jan 15th, 2003, 02:56 PM
the way ive been using crystal report.net is I create a form that basically allows the user to pick an option that falls into an sql statement then I use that sql statment to create a dataset that set the datasource of the crystal report too. When i create the report I used a type dataset and use that to create the report. I hope this helps Then i export the report as a pdf and it opens up in the adove acrobat viewer.

indydavid32
Dec 3rd, 2003, 01:41 PM
robdotnet, could you post some code on how you exported your web crystal report to a pdf file? Either that or point me in the right direction?

Also, how would you make the dialog box to open, save, etc... the pdf file once you have created it.

Thanks!