title: How to Pass multiple parameters from C# to crystal reports
body: <p>I used this cod for pass a parameter to CR but can't pass multiple parameters!!!
  how to change this code for pass multiple parameters from C# to crystal reports?</p>
  
  <pre><code>ReportDocument cryRpt1 = new ReportDocument();
  cryRpt1.Load("C:\\Users\\BilgiSoft\\Desktop\\RPTLetter1.rpt");
  
  ParameterFieldDefinitions crParameterFieldDefinitions;
  ParameterFieldDefinition crParameterFieldDefinition;
  ParameterValues crParameterValues = new ParameterValues();
  ParameterDiscreteValue crParameterDiscreteValue = new ParameterDiscreteValue();
  
  crParameterDiscreteValue.Value = comboBox1.Text;
  crParameterFieldDefinitions = cryRpt1.DataDefinition.ParameterFields;
  crParameterFieldDefinition = crParameterFieldDefinitions["My Parameter"];
  crParameterValues = crParameterFieldDefinition.CurrentValues;
  
  crParameterValues.Clear();
  crParameterValues.Add(crParameterDiscreteValue);
  crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
  
  crystalReportViewer1.ReportSource = cryRpt1;
  crystalReportViewer1.Refresh();
  </code></pre>