title: .NET RDLC and multiple parameters not working
body: <p>I have a report that takes two parameters from a couple of text boxes that always ends up being null when passed to the stored proc. Here is the code. Also I stepped through the code and the passed in parameters have values but between passing in the params to when the proc is executed it becomes null. </p>
  
  <pre><code>        protected void btnSearch_Click(object sender, EventArgs e)
          {
              pnlRecords.Visible = true;
  
              ReportParameter p1 = new ReportParameter("DateStart", ReportDates1.DateStart);
              ReportParameter p2 = new ReportParameter("DateEnd", ReportDates1.DateEnd);
  
              this.ReportViewer1.LocalReport.SetParameters(new ReportParameter[] { p1, p2 });
              this.ReportViewer1.LocalReport.Refresh();
          }
  </code></pre>
  
  <p>What do you think?</p>