1
Answer

Can I use two datasets as setdatasources to a crystalreport

Photo of Krishna Kumar

Krishna Kumar

7y
132
1
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)

0
Photo of Vivek Kumar
NA 7.6k 729.8k 7y
Have a look into the below links.
 
https://stackoverflow.com/questions/19704364/entity-framework-getting-a-tables-column-names-as-a-string-array
 
https://schneids.net/get-table-info-for-your-entities-in-entity-framework/