Sometimes, you want to make something abnormal in your application. One of these abnormal actions that you want to pass an image to your report (CrystalReport) at run-time stage of your application.
There are many articles and resources have been written in this topic, but all are complicated and take a hard code to do with incomplete way. You can follow the pictures to see how this ??
In your C# application you can send image path as following:
ReportDocument rpt = new ReportDocument();
rpt.DataDefinition.FormulaFields[“picPath”].Text = @”‘C:\MyImage.jpg'”;
crystalReportViewer1.ReportSource = rpt;