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:05:34
 
 
To
All
General information
Forum:
ASP.NET
Category:
Reporting
Title:
How to pass 2 dataset to crystal report?
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01525834
Message ID:
01525834
Views:
114
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
Next
Reply
Map
View

Click here to load this message in the networking platform