Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass 2 dataset to crystal report?
Message
De
06/10/2011 22:20:00
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
06/10/2011 22:05:34
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01525834
Message ID:
01525835
Vues:
44
>Hi all,
> I use vb.net , 2 database then will create 2 dataset. I want to print the two database data. But i don't know how to pass 2 dataset to crystal report.
>Anyone know how to do and try it? Thank you ~~~
>
>
>
>Dim objRptDoc as New ReportDocument()
>Me.customertableAdapter.Fill(me.ds300.customerstatus)
>Me.customertableAdapter.Fill(me.ds200.customer)
>
>objRptDoc.Load(Application.startuppath & "\Report200.rpt")
>objRptDoc.setDataSource(ds200)                                                        'In this, if i want to pass ds200 and ds300, how can i do?
>CRV.reportSource = objRptDoc
>
>
You should put them into the same DataSet.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform