or

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.
| Public Sub New() |
| InitializeComponent() |
| TextBox10.Value = CDbl(75.5) |
| TextBox11.Value = CDbl(74.4) |
| TextBox12.Value = TextBox5.Value - TextBox8.Value |
| End Sub |
| TextBox5.Value = CDbl(75.5) |
| TextBox8.Value = CDbl(74.4) |
| TextBox6.Value = TextBox5.Value - TextBox8.Value |
| TextBox10.Value = CDbl(75.5) |
| TextBox11.Value = CDbl(74.4) |
| TextBox12.Value = TextBox14.Value - TextBox15.Value |
| Dim ReportName As String = Request.QueryString("Report") |
| If ReportName IsNot Nothing Then |
| Dim r As Telerik.Reporting.Report = Activator.CreateInstance(Type.GetType("MyReportProject." & ReportName)) |
| ReportViewer1.Report = r |
| End If |