Gokul

Gokul

  • NA
  • 526
  • 69.4k

How to access two tables data view crystal report in c#

Aug 8 2016 2:06 AM
hii, friends
 
 i have create windows application but i need crystal report two tables data view but one table data 'select * from tablename'  another table using where condition ,,
how can i make this
 
 
 
and i am using dataset    
 
and query
 
SqlDataAdapter sda = new SqlDataAdapter("select * from tbl_stockout where billno='" + txtname.Text + "'", con);
con.Open();
DSadmin ds = new DSadmin();
sda.Fill(ds.tbl_stockout);
CRadmin ad = new CRadmin();
ad.SetDataSource(ds);
crystalReportViewer1.ReportSource = ad;
con.Close();
 
this is my query but i need two tables data view in crystal report windows application 
 
 

Answers (2)