title: Reportviewer Missing Datasource
body: <p>I created a dataset which contains a table from my SQL Database named "BillHeaders"</p>
  
  <p>Here's what my report viewer looks like, it will contain two reports. One that holds a job number and description, the other that holds a job number, description and contract number.
  <img src="https://i.stack.imgur.com/Y5eM6.png" alt="Reportviewer"></p>
  
  <p>Here are my buttons that will execute either report</p>
  
  <p><img src="https://i.stack.imgur.com/BwGCd.png" alt="Two types of reports"></p>
  
  <p>Here are my reports in my "Reports" folder. Both constructed and ready to go.
  <img src="https://i.stack.imgur.com/69CAl.png" alt="Reports folder"></p>
  
  <p>Unfortuantely when I use this code (respectively for each button):</p>
  
  <pre><code>Private Sub btnJobNoDesc_Click(sender As System.Object, e As System.EventArgs) Handles btnJobNoDesc.Click
      'Reset the viewer
      frmReportViewer.ReportViewer1.Reset()
  
      'Dim the required datasources. Need a seperate ReportDatasource for each table in the report
      Dim ReportDataSource1 As Microsoft.Reporting.WinForms.ReportDataSource = New Microsoft.Reporting.WinForms.ReportDataSource
  
      'Give datasource name and set the specific datatables
      ReportDataSource1.Name = "dsBillHeaders_BillHeaders"
      ReportDataSource1.Value = frmReportViewer.dsBillHeaders.BillHeaders
  
      'Clear the datasources in the report and add the new ones
      frmReportViewer.ReportViewer1.LocalReport.DataSources.Clear()
      frmReportViewer.ReportViewer1.LocalReport.DataSources.Add(ReportDataSource1)
  
      frmReportViewer.ReportViewer1.LocalReport.ReportEmbeddedResource = "ReportViewer_Tutorial.rptJobNoDesc.rdlc"
      frmReportViewer.ReportViewer1.RefreshReport()
  
      frmReportViewer.Show()
  End Sub
  </code></pre>
  
  <p>I get this result:
  <img src="https://i.stack.imgur.com/KMgkV.png" alt="Result"></p>
  
  <p>What am I doing wrong with my datasource?</p>