Need to write this VB.net code snippet in C#. All it does is generate a SSRS report in the report viewer control. Will also need to know what references are needed. Thanks!
Private Sub Display_Report(ByVal strReportServerURL, ByVal strReportPath As String)
lblError.Text = ""
'Make the report viewer invisible for now
rvLMS.Visible = False
'Turn on the parameter prompts
rvLMS.ShowParameterPrompts = True
'Set the report Processing Mode
rvLMS.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
'Set the Report Viewer - Server URL & Report Path
rvLMS.ServerReport.ReportServerUrl = New Uri(strReportServerURL)
rvLMS.ServerReport.ReportPath = strReportPath
rvLMS.Visible = True
Catch ex As Exception
lblError.Text = "Error: " & ex.Message & " Stack Trace: " & ex.StackTrace