开发者

Displaying SubReport Data into a Microsoft Report Viewer Control with ASP.NET VB

开发者 https://www.devze.com 2022-12-10 23:41 出处:网络
I\'ve got the main report displaying just fine. Can\'t get the subreport to display data. Parameters are setup and li开发者_如何学Pythonnked appropriately, but still nothing. Am I missing something ob

I've got the main report displaying just fine. Can't get the subreport to display data. Parameters are setup and li开发者_如何学Pythonnked appropriately, but still nothing. Am I missing something obvious? Is there a bug I'm not aware of? Anyone else fighting with this? I'm using Visual Web Developer Express 2008 on a SQL Express 2005 database.


Have you handled the SubreportProcessing event?

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

Here's a link to the MSDN page on this: click here

0

精彩评论

暂无评论...
验证码 换一张
取 消