Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0 CrystalReports
Hi everybody,
I am currently working in the C# windows application Crystal reports.
In if we pass parameter dynamically to the datasets, the image path dynamically send to oleobject but it will not displays the image in the path. But i hard codes the same parameter image in that path is displayed in the Report.

example path:"C:\images\img.jpg" the path is retrieved by the database.
pls anyone help me to slove this problem.
Posted 2-Sep-12 20:51pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Right-click on the image in the report and set the "Graphic Location" to a field in your database (or a formula).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 531
1 OriginalGriff 293
2 Maciej Los 200
3 DamithSL 145
4 Mehdi Gholam 135
0 DamithSL 95
1 OriginalGriff 65
2 Gopu Raj 30
3 Mahsa Hassankashi 25
4 Raul Iloc 25

Advertise | Privacy | Mobile
Web04 | 2.8.141030.1 | Last Updated 3 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100