Hi All,
I am using 3 reports
1. rptMain
2. rptOldReport
3. rptNewReport
I am using rptSubreport1 and rptSubReport 2 as subreports in rptMain.
I am using datatable to bind both the reports.
If I run both the reports seperately from my aspx page directly ( i.e. not opening report as a subreport) then the columns headings are visible.
e.g
Public Sub ShowReport(Byval dt as DataTable)
Dim objRpt as OldReport = New OldReport() // Or Dim objRpt as NewReport = New NewReport()
objRpt.DataSource = dt
End Sub
Can anyone please let me know what could be the problem?
I am using 3 reports
1. rptMain
2. rptOldReport
3. rptNewReport
I am using rptSubreport1 and rptSubReport 2 as subreports in rptMain.
I am using datatable to bind both the reports.
Public Sub New(ByVal dtOld As DataTable, ByVal dtNew As DataTable)
InitializeComponent()
RptOldReport1.DataSource = dtOld
RptNewReport1.DataSource = dtNew
End Sub
It shows the data for both the reports but the problem is that it is not showing the column headings in both the reports.
If I run both the reports seperately from my aspx page directly ( i.e. not opening report as a subreport) then the columns headings are visible.
e.g
Public Sub ShowReport(Byval dt as DataTable)
Dim objRpt as OldReport = New OldReport() // Or Dim objRpt as NewReport = New NewReport()
objRpt.DataSource = dt
End Sub
Can anyone please let me know what could be the problem?