In a new C# 2010 web form application, I am planning to use a reportviewer control for users to determine what ssrs 2012 reports they want to execute.
This plan is good for one report, but how about if the user wants to run a series of these reports. Basically there may be order the user wants the selected reports to be displayed. How would you accomplsih that goal?
How about if the user wants to add or delete ssrs reports that are to be executed. How would you accomplish that goal?
You could firstly use a dropdownlist or some other control to list all report names , when user choose one / multiple reports , you could load the relevant reports . Hope i understood your requirement ,
One of your issues may come down to report parameters. How are you going to handle various parameter sets for each report?
I would suggest some code and a GridView or Listbox to select. You could use some javascript to hold the report names in order that the user selects them and (for example) show the selections to the right of the grid.
I like what you said about 'I would suggest some code and a GridView or Listbox to select. You could use some javascript to hold the report names in order that the user selects them and (for example) show the selections to the right of the grid.'
However I have the following questions:
1. What would I do if I want to delete an ssrs report? How would I delete the ssrs report that is no longer needed?
2. Would I have a set of parameters for all 20 ssrs reports that are displayed or would I have a unique set of parameters that are displayed for each report?
You mentioned the following, "You could firstly use a dropdownlist or some other control to list all report names , when user choose one / multiple reports , you could load the relevant reports". Would you tell me how to load the relevant reports?
Member
286 Points
582 Posts
web form app accessing ssrs 2012 reports
Dec 28, 2015 05:32 PM|wendy elizabeth|LINK
In a new C# 2010 web form application, I am planning to use a reportviewer control for users to determine what ssrs 2012 reports they want to execute.
This plan is good for one report, but how about if the user wants to run a series of these reports. Basically there may be order the user wants the selected reports to be displayed. How would you accomplsih that goal?
How about if the user wants to add or delete ssrs reports that are to be executed. How would you accomplish that goal?
All-Star
18815 Points
3831 Posts
Re: web form app accessing ssrs 2012 reports
Dec 29, 2015 05:21 AM|Nan Yu|LINK
Hi wendy elizabeth,
You could firstly use a dropdownlist or some other control to list all report names , when user choose one / multiple reports , you could load the relevant reports . Hope i understood your requirement ,
Best Regards,
Nan Yu
Member
352 Points
1538 Posts
Re: web form app accessing ssrs 2012 reports
Dec 29, 2015 03:41 PM|dlchase|LINK
One of your issues may come down to report parameters. How are you going to handle various parameter sets for each report?
I would suggest some code and a GridView or Listbox to select. You could use some javascript to hold the report names in order that the user selects them and (for example) show the selections to the right of the grid.
Just some thoughts...
Member
286 Points
582 Posts
Re: web form app accessing ssrs 2012 reports
Dec 29, 2015 03:54 PM|wendy elizabeth|LINK
I like what you said about 'I would suggest some code and a GridView or Listbox to select. You could use some javascript to hold the report names in order that the user selects them and (for example) show the selections to the right of the grid.'
However I have the following questions:
1. What would I do if I want to delete an ssrs report? How would I delete the ssrs report that is no longer needed?
2. Would I have a set of parameters for all 20 ssrs reports that are displayed or would I have a unique set of parameters that are displayed for each report?
Member
286 Points
582 Posts
Re: web form app accessing ssrs 2012 reports
Dec 29, 2015 03:56 PM|wendy elizabeth|LINK
You mentioned the following, "You could firstly use a dropdownlist or some other control to list all report names , when user choose one / multiple reports , you could load the relevant reports". Would you tell me how to load the relevant reports?
All-Star
18815 Points
3831 Posts
Re: web form app accessing ssrs 2012 reports
Jan 06, 2016 07:50 AM|Nan Yu|LINK
Hi wendy,
you could refer to below articles for details with demo :
http://www.codeproject.com/Articles/675762/Call-SSRS-Reports-by-using-Csharp
http://www.codeproject.com/Articles/15469/Integrating-Reporting-Services-Into-a-Web-App
https://msdn.microsoft.com/en-us/library/ms251686(VS.80).aspx
Best Regards,
Nan Yu