The system will go live with its first client, a financial institution, by the end of the month Read More
<rsweb:ReportViewer ID="rptLetter" runat="server" ExportContentDisposition="AlwaysAttachment"  
       Height="475px" ProcessingMode="Remote" PromptAreaCollapsed="true" 
       ShowPromptAreaButton="false" SizeToReportContent="True" Width="100%" ShowFindControls="false" 
       BackColor="#ededed">
        <ServerReport ReportPath="/Reports/Letter" ReportServerUrl="https://reportserver" />
        </rsweb:ReportViewer>
  Dim MyDate As New ReportParameter("date", PrintDate)
Dim p() As ReportParameter = {MyDate}
Dim p() As ReportParameter = {MyDate}
  rptLetter.ServerReport.ReportPath = "/Reports/" & ReportName
rptLetter.ServerReport.ReportServerCredentials = New ReportViewerCredentials(
"username", "password", "domain")
rptLetter.ServerReport.SetParameters(p)
rptLetter.ServerReport.Refresh()
rptLetter.Visible = True
 rptLetter.ServerReport.ReportServerCredentials = New ReportViewerCredentials(
"username", "password", "domain")
rptLetter.ServerReport.SetParameters(p)
rptLetter.ServerReport.Refresh()
rptLetter.Visible = True
No comments:
Post a Comment