Help!
Can anyone explain the difference between these two web services?
I want to create an ASPX page that develops report parameters and then uses those parameters to render a report which I will display in an image box. Which service do I need?
Is there a place to read about how to use each of them?
Thanks!
Neither :-).
You need the ReportViewer control that comes with Visual Studio 2005 or can be downloaded here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=8a166cac-758d-45c8-b637-dd7726e61367&DisplayLang=en
This will allow you to embed a report directly in your page - no need for picture boxes :-). It will also provide you the APIs for setting parameters.
Using the ReportExecution2005 endpoint you could achieve this, but it would be a lot of work to handle all the possible cases. The ReportViewer controls let you do this very quickly and handle all the interaction with the Report Server for you.
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.
Lukasz,
Thank you for your reply.
I have used the report viewer control when I am willing to have the parameter prompts managed by the report. I don't understand how to use the report viewer's API to render the report when I want it rendered, and how to provide parameters from outside the control. Do you know of an example or a reference?
Ira
|||
You can find samples here: www.gotreportviewer.com There is a sample called "Parameter prompting in local mode" that you should be able to reuse, just in Server mode.
Also, you can ask this question on the Report Viewer forum. It might already be answered there.
http://forums.microsoft.com/msdn/showforum.aspx?forumid=75&siteid=1
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.
Lukasz,
Mission accomplished!
It's amazing how easy things are when you find the right approach. Thanks.
Ira
No comments:
Post a Comment