Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetDataSource question
Message
De
27/12/2007 11:01:24
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Divers
Thread ID:
01277787
Message ID:
01277817
Vues:
16
>>>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/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform