Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetDataSource question
Message
From
27/12/2007 11:01:24
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
01277787
Message ID:
01277817
Views:
17
>>>Does the order in which you set the datasources for a main report and its sub-reports matter? I am passing the populated DataSets of several business objects to a report and the data for the main report is not displaying. The sub-reports are displaying correctly.
>>>
>>>I also tried setting the tables explicitly in the main report:
>>>
>>>
>>>report.Database.Tables[0].SetDataSource(BillingTotal.DataSet.Tables[0]);
>>>report.Database.Tables[1].SetDataSource(BillingTotal.DataSet.Tables[1]);
>>>
>>
>>
>>You can try:
>>
>>report.SetDataSource(BillingTotal.DataSet)
>>
>
>Thanks for the suggestion Mike. That's how I had it initially.

I had a CR problem once and had to contact their support. I was told that is the only way you should do it. I don't know if I buy into that or not, but it seemed to fix my problem at the time.
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform