title: VB.Net Report viewer parameters
body: <p>I added a Parameter to report.rdlc called "ReportTitle".  It is text and allows blank values and nulls.  I have tried different ways to pass the parameter value to no avail.  This is what I've tried so far:</p>
  
  <pre><code>  Dim parReportParam1 As New ReportParameter("ReportTitle", "THIS IS MY TITLE")
    ReportViewer1.LocalReport.SetParameters(New ReportParameter() {parReportParam1})
  </code></pre>
  
  <p>Does not work!</p>
  
  <pre><code>    Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter
      params(0) = New Microsoft.Reporting.WinForms.ReportParameter("ReportTitle", "THIS IS MY TITLE")
      ReportViewer1.LocalReport.SetParameters(params)
  </code></pre>
  
  <p>Nothing!</p>
  
  <pre><code>    Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter
      params(0) = New Microsoft.Reporting.WinForms.ReportParameter
      params(0).Name = "ReportTitle"
      params(0).Values.Add("THIS IS MY TITLE")
      ReportViewer1.LocalReport.SetParameters(params)
  </code></pre>
  
  <p>Nope!</p>
  
  <p>I don't know what to try anymore.  Do I have to set something on the reportviewer or on the designer to allow parameter values.  Any help is greatly appreciated it.</p>