title: Viewing a dataset with Microsoft Report Viewer
body: <p>I have a dataset, which is using a stored procedure to fetch data.<br>
  I have filled the dataset and everything is ok. When I am using the debug I can see that the dataset is not empty, but I can't view it with Microsoft Report Viewer.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>private void frmPrint_Load(object sender, EventArgs e) {
  
      this.reportViewer1.RefreshReport();
      reportViewer1.LocalReport.DataSources.Clear();
  
      GetCauseMachineMatrixTableAdapter adapter = new GetCauseMachineMatrixTableAdapter();
      QpNibrolDataSet dataset = new QpNibrolDataSet();
      adapter.Fill(dataset.GetCauseMachineMatrix, this.start, this.end);
  
      DataTable DT = dataset.Tables[0];
  
      ReportDataSource reportdatasource = new ReportDataSource();
      reportdatasource.Name = "RDS_NAME";
      reportdatasource.Value = DT;
  
      reportViewer1.LocalReport.DataSources.Add(reportdatasource);
      reportViewer1.LocalReport.Refresh();
      reportViewer1.RefreshReport();
  }
  </code></pre>
  
  <p>the form is saying</p>
  
  <blockquote>
    <p>The source of the report definition is not been specified</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>
  
  <p>I don't use <code>rdlc</code> because when I am try to view my dataset, no columns name show; the stored procedure I am using requires parameters.</p>