Hi…
Here is the sample Example that shows how to bind your Data to the Report Viewer Control from multiple Table
write the below code in Button Click event where you want to generate the Report
// render via the ReportViewer control
reportViewer.ProcessingMode = ProcessingMode.Local;
// set report
reportViewer.LocalReport.ReportPath = "MyReport.rdlc";
//Here add a Connection to the SqlDatabase and try to get the Data into The Dataset
string connectionString = "Data Source=localhost;Initial Catalog=DatabaseName;"
+ "Integrated Security=true;";
//here is the Query to get the data..
string Query= ” select dp.field1Parent , dc.fieldsome1 , dc.fieldsome2 from dtParent dp join dtChild dc on dp.Pid=dc.Pid ”
SqlDataAdapter da = new SqlDataAdapter(Query,Conn)
da.Fill(ds)
// set data
DataTable dt = ds.Tables[ 0 ];
//Binding Data to report viewer
reportViewer.LocalReport.DataSources.Add( new ReportDataSource( "MyDataSet", dt ) );
// render report
reportViewer.RefreshReport();
note: Here you are not using any Dataview and You need not change any change from Dataview