Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change the dataset used by a rpt in the viewer?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Divers
Thread ID:
00961947
Message ID:
00961960
Vues:
13
This message has been marked as the solution to the initial question of the thread.
There are a couple of ways. I used strongly-typed reports, but you *should* be able to do something like this...
ReportDocument oMyReport = new ReportDocument();
oMyReport.Load("name of report");

// do your data stuff here

oReportViewer.ReportSource = oMyReport;
I'm typing from memory, I don't have my project in front of me, but give that a try...

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

Click here to load this message in the networking platform