G
Guest
I am using the MS Report Viewer. I created a report (.rdlc) in my website. I
set the report up using a datasource. I have the following code:
Dim dta As New dsReportLoanBatchTableAdapters.FARReportLoanBatchTableAdapter
Dim dt As New dsReportLoanBatch.FARReportLoanBatchDataTable
dt = dta.GetFullData()
ReportViewer1.LocalReport.DataSources.Add(New
ReportDataSource("dsReportLoanBatch_FARReportLoanBatch", dt))
ReportViewer1.LocalReport.ReportPath = "\ReportFiles\Report.rdlc"
I Look at the data that is in the datatable variable (dt). There is data in
there because I placed a breakpoint after the filling of the datatable, and
there is data there. But when I add the Datasources with the datatable. the
report does not display anything. No data, not even the header columns! What
am I doing wrong?
Thanks in advance
set the report up using a datasource. I have the following code:
Dim dta As New dsReportLoanBatchTableAdapters.FARReportLoanBatchTableAdapter
Dim dt As New dsReportLoanBatch.FARReportLoanBatchDataTable
dt = dta.GetFullData()
ReportViewer1.LocalReport.DataSources.Add(New
ReportDataSource("dsReportLoanBatch_FARReportLoanBatch", dt))
ReportViewer1.LocalReport.ReportPath = "\ReportFiles\Report.rdlc"
I Look at the data that is in the datatable variable (dt). There is data in
there because I placed a breakpoint after the filling of the datatable, and
there is data there. But when I add the Datasources with the datatable. the
report does not display anything. No data, not even the header columns! What
am I doing wrong?
Thanks in advance