Krishna Kumar

Krishna Kumar

  • NA
  • 135
  • 38.6k

Can I use two datasets as setdatasources to a crystalreport

Sep 11 2017 3:20 AM
Dear all,

I am having the two different tables attached to a crystal report using Database Expert.
I am getting the data from both the reports.

Now in the reportviewer i am using the code like this

billingreport.setdatasource(sa)
CrystalReportViewer1.ReportSource = billing
billinreport.setdatasource(sa2)
CrystalReportViewer1.ReportSource = billing;
 
Can i set Datasources as above?
 
Please suggest me 

Answers (1)