Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a report directly from a datatable
Message
 
À
19/12/2007 13:46:02
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01276646
Message ID:
01276649
Vues:
15
Check out Kevin's artice in CoDe Magazine: http://www.code-magazine.com/Article.aspx?quickid=0501071

>Hello all,
>
>I have a method that creates a DataTable, and now i want to create a CrystalReports report that prints the DataTable Data.
>
>The problem is that all the samples i found points to using a DataSet, with bound fields, that must be visible before creating the report, in order to CrystalReports can find them, and so i can put them in the report.
>I don't have none of this, my DataTable is created at RunTime just before i print the report and then i discard it.
>I need to pass the DataTable as a parameter to the ReportViewer (or to a form holding the reportviewer) and then define this DataTable as the report datasource.
>
>For me it's very simple, but it seems that CrystalReports don't do this, or does?
>Does anyone created something like this?
>
>TIA,
>Joaquim
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform