Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass 2 dataset to crystal report?
Message
From
06/10/2011 22:20:00
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
06/10/2011 22:05:34
General information
Forum:
ASP.NET
Category:
Reporting
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01525834
Message ID:
01525835
Views:
43
>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform