CrystalReportViewer1.Visible = true;
string imagePath = ConfigurationManager.AppSettings["logo"];
string physicalPath = Server.MapPath(imagePath);
ReportDocument rd = new ReportDocument();
CrystalReportViewer1.RefreshReport();
ParameterFields myParams = new ParameterFields();
ParameterField myParam = new ParameterField();
ParameterDiscreteValue myDiscreteValue = new ParameterDiscreteValue();
myParam.ParameterFieldName = "logo";
myDiscreteValue.Value = physicalPath;
myParam.CurrentValues.Add(myDiscreteValue);
myParams.Add(myParam);
CrystalReportViewer1.ParameterFieldInfo = myParams;
rd.Load(Server.MapPath("CrystalReport2.rpt"));
CrystalReportViewer1.ReportSource = rd;
CrystalReportViewer1.DataBind();