CHAPTER 8 DEPLOYING REPORTS
Figure 8-13. Adding directives to your publisher project
Laying Out the Form
From the Toolbox, add one label, one textbox, and one button near the top of the form, set the label text
to Report server, and name the textbox reportServer in the textbox properties. Name the button
getFolders and set its text to the word Go. You’ll use the reportServer textbox to allow users to enter in
the report server name that they want to deploy to.
Next, add a TreeView control to the center of the form and name it ssrsFolders. You’ll use it to
display a list of available folders on the server where you can upload your report when the user enters in
a server name and clicks the Go button.
Add one label, one textbox, and one button near the bottom of the form; set the label text to Report
file; name the textbox reportFile; name the button browseFile; and set the text of the button to Browse.
You’ll use the reportFile textbox to accept or display the path name and file name of the report file you
want to upload to the specified SSRS 2012 server. You’ll use the Browse buttons to choose the form that
accepts the users’ input and allows them to select a report file for deploying.
After you’ve added all these controls, the form should look something like Figure 8-14.