Report viewer does not load, showing blank space - running local RDLC files

前端 未结 10 1790
南笙
南笙 2021-02-08 04:56

I got a problem with reporting services, running local rdlc files on the 2005 version.

I have in the HTML a report viewer set to run locally as follows :



        
10条回答
  •  执笔经年
    2021-02-08 05:09

    I was getting the same problem when I add parameter in rdlc but not assigning it. I solved by adding this code.

    Dim p_Date As Microsoft.Reporting.WebForms.ReportParameter
    p_Date = New Microsoft.Reporting.WebForms.ReportParameter("DATE", txtDate.Text)
        Me.ReportViewer1.LocalReport.SetParameters(New Microsoft.Reporting.WebForms.ReportParameter() {p_Date})
        ReportViewer1.LocalReport.Refresh()
    

提交回复
热议问题