Report Viewer not displaying data

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,931
Messages
2,570,085
Members
46,536
Latest member
keelop

Latest Threads

Top