I am trying to dynamically assign local reports in the reportviewer control.
I can’t seem to get a valid datasource for my rdlc. All of the examples Can someone show me what I have to do in order to load an RDLC in the reportview with a valid datasource. Thanks for the help
I've checked out this post,
but I'm hoping for a solution in which I don't have to build a dummy dataset. I do this type of operation in Crystal reports all the time, so I'm hoping it's possible in ReportViewer control.
This is my code so far, but it keeps giving me an error saying that "table1 refers to an invalid DataSetName...
Dim dt As New DataTable
Dim cn As New SqlConnection("Server=(loc
Dim cmd As New SqlCommand("select * from vw_report_membershiproster
Dim da As New SqlDataAdapter(cmd)
ource = "reportViewer.Report3.rdlc
Dim dsource As New mr.ReportDataSource("Adven