title: How to use the data of DataTable in report viewer?
body: <p>I get the data source of datagridview as datatable and passed it to the reportviewer </p>
  
  <pre><code>        DataTable dd = (DataTable)DGVCars.DataSource;
          dd.TableName = "Cars";
          Report r = new Report(dd);
          r.Show();
  </code></pre>
  
  <hr>
  
  <pre><code>       // MaterialsSuppliersDataSet t = new MaterialsSuppliersDataSet();
  
         // MessageBox.Show("" + dd.Rows[0][1]);
  
          ReportDataSource RDS = new ReportDataSource("Cars",dd);
  
  
          RV.ProcessingMode = ProcessingMode.Local;
          LocalReport lc = RV.LocalReport;
          lc.DataSources.Add(RDS);
  
          RV.LocalReport.ReportPath = "Report1.rdlc";
  
          this.RV.RefreshReport();
  </code></pre>
  
  <p><strong>How can I use the fields of Datatable to display in report ?</strong></p>