回答

0

您是否處理了子報表處理事件?

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 
    AddHandler ReportViewer1.LocalReport.SubreportProcessing, AddressOf Me.SubreportProcessingEventHandler 
End Sub 

Public Sub SubreportProcessingEventHandler(ByVal sender As Object, ByVal e As Microsoft.Reporting.WebForms.SubreportProcessingEventArgs) 
    'TODO 
End Sub 

下面是MSDN的頁面的鏈接在此:click here

相關問題