Click here to Skip to main content
13,598,829 members
Rate this:
Please Sign up or sign in to vote.
Hi mates!!!

1. need to upload images of child and get a reports from crystal report.
i have table like this

table Name : childmaster

childunique_id (varchar)
childName (varchar)

When i click to upload button, i had to keep the image to project path. eg: "img\child\" and saved the filename as "childunique_id.jpg" eg: 15486541EF.jpg.

my query is in datatable like this:
select childunique_id , '~/img/child/' ||childunique_id ||'.jpg'  url
 from childmaster

I need to get images dynamically at runtime in Crystal Report in from the above mentioned query.

The report will shows corresponding images from the physical path.
like this : 15486541EF, < 15486541EF.jpg >

any helping suggestions will be appreciable.

Thank you..
Posted 15-Feb-13 1:52am
Sandeep Mewara 15-Feb-13 15:46pm
What have you tried so far?
Prince P Ravi 16-Feb-13 0:18am
hi sandeep,
i have created a crystal report as per the above mentioned query and insert OLE Object. How can i map the corresponding to record of jpg from normal reporting i could be done. but this...pls help...

this is normal report binding using Datatable which i made and using....

public ReportDocument Crystalreport(DataTable query, string path, string title, string reportcomments)
if (query.Rows.Count != 0)
_cr.SummaryInfo.ReportTitle = title;
_cr.SummaryInfo.ReportComments = reportcomments;
return _cr;

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.180621.3 | Last Updated 15 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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