Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.
i want to use data from two different tables(two tables in two different datasets/two tables in same dataset) to display on crystal report in wpf.
how can i do this??
thanks.
Posted

niravsahayata wrote:
use data from two different tables


1. use Subreports

2. Combine the dataset/datatable manually in code-behind before using it in Crystal
3. use Union query to get combined data
4. Tables from same dataset can be used like this:
C#
SetDataSource(dataset1.Tables["TableOrder"])
SetDataSource(dataset2.Tables["TableCity"])
 
Share this answer
 
v2
<pre><pre><pre><pre><pre>
 
Share this answer
 

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