Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do report without database?
Message
De
23/07/2006 13:44:24
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
C# 1.1
Divers
Thread ID:
01138935
Message ID:
01138946
Vues:
19
Hi, Dmitry,

Here's how I do it - (and this is assuming that when you built the report, you specified a dataset or XML at designtime when you designed the report content)...

Assuming you've instantiated the report at runtime, you can push the dataset in by doing the following:
foreach (Table oTable in oReport.Database.Tables)
   oTable.SetDataSource( MyDataSet.Tables[ oTable.Name.ToString() ]);            
You can also use report parameter fields. I prefer to use datasets, but report parameter fields should work as well.

Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform