title: Passing parameters from another form to form with ReportViewer
body: <p>Hello I have got <code>ReportViewer</code> in my <code>Form2</code> and I got some <code>textboxes</code> in <code>Form1</code> and on <code>button_click</code> event in Form1 I open form2 and pass these strings:</p>
  
  <pre><code> string klient_name = txt_name.Text;
          string klient_address2 = txt_adress2.Text;
          string klient_address = txt_adress.Text;
          voucher_sestava a = new voucher_sestava();
          a.k_name = klient_name;
          a.k_address2 = klient_address2;
          a.k_address = klient_address;
          a.Show();
  </code></pre>
  
  <p>On <code>Form2</code> I got following code:</p>
  
  <pre><code>public string k_name { get; set; }
      public string k_address2 { get; set; }
      public string k_address { get; set; }
  
  private void form2_Load(object sender, EventArgs e)
      {
  
  
          ReportParameter p1 = new ReportParameter("name",k_name);
          ReportParameter p2 = new ReportParameter("address",k_address);
          ReportParameter p3 = new ReportParameter("address2", k_address2);
  
  
          this.firmaTableAdapter.Fill(this.dataset_voucher.firma);
          this.reportViewer1.ServerReport.SetParameters(new ReportParameter[] { p1, p2, p3 }); 
          this.reportViewer1.RefreshReport();
  
      }
  </code></pre>
  
  <p>When I try to write in <code>Expression</code> of reportviewer's textbox like this:</p>
  
  <pre><code>=Parameters!name.Value 
  </code></pre>
  
  <p>I got following error:</p>
  
  <blockquote>
    <p>The Value expression for the text box ‘Textbox14’ refers to a
    non-existing report parameter ‘name’. Letters in the names of
    parameters must use the correct case.</p>
  </blockquote>
  
  <p>May someone please help me fixing this? Thanks so much. </p>