Rajeev please help, bug in .Net

Rajeev please help, I think I have found a bug in .Net.

If you look at my other recent post you will see the code I am using to bind a report to a datatable in ASP.Net via anObjectDataSource, which works for the master report. Using exactly the same code to create theObjectDataSource, but adding the following line of code to the subreporteventhandler should bind the subreports.

e.DataSources.Add(New ReportDataSource("dstMonthlyReturn_title", ObjectDataSource2.ID))

However it doesnt work, a subreport with no data requirements shows up, but the same subreport when a datasource is added fails. The same reports and very similar code work in the windows viewer.

Any thoughts?

[825 byte] By [AllenHovsepian] at [2008-2-24]
# 1
You have indeed run into a bug, unfortunately. A fix will be available in the final release.
RajeevKarunakaran at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...
# 2
Thanks again, thought we thought we were going mad for a while.
Allen
AllenHovsepian at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...

Visual Studio

Site Classified