Crystal Report Help..
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Im trying to create a crystal report with a subreport.. for every line that display on the main report there will be a subreport and the subreport uses a value from the line that has been displayed as its parameter.. can anyone please help with this? i created a dataset that has a datatable, i fill the dataset and point this to the subreport like this(am not sure if this is right): SqlDataAdapter subReportAdapter = new SqlDataAdapter(query, connString); DataSet2 ds2 = new DataSet2(); subReportAdapter .Fill(ds2, "BookedTimes"); venueReport.Subreports["TimesSubReport"].SetDataSource(ds2); It just throws an error in runtime saying "Invalid argument provided".