开发者

SSRS and Sharepoint

开发者 https://www.devze.com 2023-03-30 22:45 出处:网络
Well I am doing development in Sharepoint 2007 and SSRS 2008. I am pretty new to both of the technologies. What I am trying to do is I have created a report in SSRS and using Report Viewer Web Part to

Well I am doing development in Sharepoint 2007 and SSRS 2008. I am pretty new to both of the technologies. What I am trying to do is I have created a report in SSRS and using Report Viewer Web Part to show it in my Sharepoint Web site. But I am strucked with passing parameter to my report from another web part that implements (IWebPartField).

Please help me out.

Ki开发者_StackOverflownd Regards Vivek


Store the User Input in a variable and pass the input to the report as Query String. You could create a "Run Report Button" which sets the Report Viewer Web Part URL to point at your Report and use the user input in the ReportURL and SSRS will detect the parameters:

I.e.

ReportViewerWebPart.ReportURL = "http://yoursharepointwebsite/Reports/YourReport.aspx?Id=1&ReportParam1=UserInputField&ReportParam2=UserInputField2
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号