Hi all,
Could you tell the correct way to use Reporting Services on ASP.NET pages?
Now I wanna create an ASP.NET page to show some reports, and I hope to control all logic by program, so I need know the API between ASP.NET and Reporting Services.
For example, I wanna pass some data to Reporting Services via API, and then Reporting Services handle the data and return reports to me, and then I can show the reports on my web pages.
Please tell me how?
Hi Xinwen.You can use the Report control and give hime the link to your report so it will show in side the control.
You don't interact with the report like you described - You can interact with the report with PARAMETERS passing through the URL.
So whan you give the report control the report url you can add to that url parameters that the report should get (like person id or project number) and also to change things in the report (like open it in diffrent ways, change the zoom, automaticlly export to pdf and so on) with the url command parameters.
for exm:
ttp://reportserver/myreportfolder/reportname.rdl?rc:format=PDF will export it to pdf.
search google about "report service url parameters"
good luck,
Roy.|||Thanks Roy!
No comments:
Post a Comment