Pro SQL Server 2012 Reporting Services

(sharon) #1
CHAPTER 8  DEPLOYING REPORTS

In this case, the Pro_SSRS folder on the localhost server has been selected, and we’re uploading a
report called EmployeeServiceCost.rdl. If you navigate to that folder with your Web browser, you’ll see
something similar to the screen shown in Figure 8-16.


Figure 8-16. Report Manager showing uploaded report


You now have a Windows Forms application that allows files to be uploaded to your report server.
This can be a handy way to add the capability to upload or update reports from within an application
without needing the user to interact with the SSRS 2012 Report Manager directly.
This can be especially useful if you want users to interact with all aspects of SSRS 2010 from within
your application. In Chapter 5, you developed an application that allows users to display reports from
within the application. By combining that application with this report publisher, you can handle a
number of non-administrative tasks directly from your application. You also could expand on this
example by providing the user with some additional options:



  • You could allow the user to create shared data sources.

  • You could allow the user to enter the name of the report to publish instead of
    taking the name from the RDL file itself. For example, you could add another
    textbox to the form and read it for the report title. So, instead of the following
    code:

Free download pdf