Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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) and
     billinreport.setdatasource(sa2) 

Can i do that?

Thanks in advance

What I have tried:

billingreport.setdatasource(sa)
CrystalReportViewer1.ReportSource = billing
billinreport.setdatasource(sa2)
CrystalReportViewer1.ReportSource = billing;
Posted
Updated 10-Sep-17 21:49pm

1 solution

Join Two table and create one table adapter in your dataset.
You don't need two dataset
 
Share this answer
 
Comments
Member 13142345 11-Sep-17 4:57am    
These are two different tables. From one table i am accessing the details of a student and from another table i am accessing the college name and logo and other information
[no name] 11-Sep-17 5:03am    
Look At This Link http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-multiple-tables.htm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900