Databases Reference
In-Depth Information
9. Change the Web reference name to ExecSVC , and click on the Add
Reference button.
10. The project gets updated as follows:
11. Drag-and-drop a button control on to the Default.asmx page.
12. Set up the code for the button click event, as follows:
Imports RSExecSVC.ExecSVC
Imports System.IO
Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e
AsSystem.EventArgs) Handles Me.Load
End Sub
Protected Sub Button1_Click(sender As Object, e As EventArgs)
Handles Button1.Click
Dim svc As New ReportExecutionService
'set up authorization
svc.Credentials = System.Net.CredentialCache.
DefaultCredentials
'set up arguments for the Render () method
Dim repPath As String = "/Shadow Simple"
Dim historyID As String = Nothing
Dim extensio As String = ""
 
Search WWH ::




Custom Search