hello,
I have a solution where I've added a project which contains my reports. My reports are based on a ADO.NET dataset. This all works fine.
The problems I am facing now are subreports. How can I add a dataset to the subreport at runtime?
for my "simple" reports, I use following method:
Dim myReport As New ReportDocument()
myReport = New xsdreport() ' is the name of my report in that project
myReport.SetDataSource(x) ' x is my dataset
CrystalReportViewer1.ReportSource = myReport
this works all fine, but how can I now add the dataset to a subreport?
can someone help me with this problem?
Thanks
Björn
I have a solution where I've added a project which contains my reports. My reports are based on a ADO.NET dataset. This all works fine.
The problems I am facing now are subreports. How can I add a dataset to the subreport at runtime?
for my "simple" reports, I use following method:
Dim myReport As New ReportDocument()
myReport = New xsdreport() ' is the name of my report in that project
myReport.SetDataSource(x) ' x is my dataset
CrystalReportViewer1.ReportSource = myReport
this works all fine, but how can I now add the dataset to a subreport?
can someone help me with this problem?
Thanks
Björn