title: Parameter to Crystal Report
body: <p>i created a @Month as parameter name in crystal report and just insert to the report header section. </p>
  
  <p>When i run the report always it asks the parameter by showing one box. How i pass through code. My existing code is below</p>
  
  <pre><code>MyReport rpt = new MyReport();
  var srcData = ; //here i added my LINQ statement to select the data
  rpt.SetDataSource(srcData);
  ParameterDiscreteValue pdValue = new ParameterDiscreteValue();
  pdValue.Value = combo2.SelectedValue;
  rpt.ParameterFields["@Month"].CurrentValues.Add(pdValue);
  this.ReportViewer1.ReportSource = rpt;
  this.ReportViewer1.RefreshReport();
  </code></pre>
  
  <p>Where i did the mistake?</p>