title: Is there a way to filter data showing in crystal reports from combobox value in another form
body: <p>I want to show a specified employee in crystal report when choosing his ID in another form, so i have to pass the combobox value from form2 to CrystalReport to filter with it...</p>
  
  <p>I tried so many things, so many lines of code, but nothing seems to be helpful, and i'm in great need to finish this project</p>
  
  <p>in Form2.cs</p>
  
  <pre><code>    private void btn_Imprimer_Click(object sender, EventArgs e)
          {
              RptSalarié r = new RptSalarié();
              r.DataSourceConnections[0].IntegratedSecurity = true;
              FrmImpression f = new FrmImpression(r);
              f.ShowDialog();
          }
  </code></pre>
  
  <p>in CrystalReport.cs</p>
  
  <pre><code>    private void FrmImpression_Load(object sender, EventArgs e)
          {
              crystalReportViewer1.ReportSource = Report;
              crystalReportViewer1.Refresh();
          }
  </code></pre>