title: Passing Values to a Crystal Report
body: <p>I am not able to load this report based on the following code:</p>
  
  <pre><code>        ReportDocument crystalReport = new ReportDocument();
          ParameterField paramField = new ParameterField();
          ParameterFields paramFields = new ParameterFields();
          ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();
  
          paramField.Name = "Param";
          paramDiscreteValue.Value = TextBox1.Text.ToString();
          paramField.CurrentValues.Add(paramDiscreteValue);
          paramFields.Add(paramField);
  
          CrystalReportViewer1.ParameterFieldInfo = paramFields;
          crystalReport.Load(Server.MapPath("CrystalReport.rpt"));
          crystalReport.SetDatabaseLogon("username","password","servername","db");
          CrystalReportViewer1.ReportSource = crystalReport;
  </code></pre>
  
  <p>It just says "The report you requested requires further information."  I am passing it the necessary parameters that the report requires as well as the username,pw,server, and db. Any suggestions would help. Thanks!</p>