How Do I???
-
- Posts: 3
- Joined: Thu Jan 21, 2010 6:45 am
- Location: Arlington TX
How Do I???
:matrix:
How do I go about adding JPG files to a report. the Location of the JPG file is stored in a Database as a link to a network location.
each report has multiple images.
I do not know how to build the report with code - we use the GUI interface
Any assistance is appreciated
Thanks in advance
Ziggy.
How do I go about adding JPG files to a report. the Location of the JPG file is stored in a Database as a link to a network location.
each report has multiple images.
I do not know how to build the report with code - we use the GUI interface
Any assistance is appreciated
Thanks in advance
Ziggy.
How Do I???
Hi Ziggy,
Please do the following:
Double click the Image component in the Designer.
Click 'Image Data' tab.
Add the following code there:
{Image.FromFile(DataSource.DataColumnWithPathToImage)}
Thank you.
Please do the following:
Double click the Image component in the Designer.
Click 'Image Data' tab.
Add the following code there:
{Image.FromFile(DataSource.DataColumnWithPathToImage)}
Thank you.
-
- Posts: 3
- Joined: Thu Jan 21, 2010 6:45 am
- Location: Arlington TX
How Do I???
Ed,
I tried to figure out what you are meaning, but am not seeing it.
We are using Reports.net 2009.1.400
.Net Framework v.2.0.50727
currently the report was setup to pull in a "DXF" file.
with
1. Image
Data Column "abc" Command.Drawing
I tried inserting your code there with no success.
we are using and SQL Database w/ Multiple Servers holding information for a given report.
this seems to be my biggest stumbling block
the image location would be as follows in the database
Table = Parts
Colomn = InfoLink1
a path the a JPG file is specified for each individual "Part"
Do I need to create a new Command?
Again - I am NEW to this software - so any Assistance is appreciated
Thank You
Ziggy
I tried to figure out what you are meaning, but am not seeing it.
We are using Reports.net 2009.1.400
.Net Framework v.2.0.50727
currently the report was setup to pull in a "DXF" file.
with
1. Image
Data Column "abc" Command.Drawing
I tried inserting your code there with no success.
we are using and SQL Database w/ Multiple Servers holding information for a given report.
this seems to be my biggest stumbling block
the image location would be as follows in the database
Table = Parts
Colomn = InfoLink1
a path the a JPG file is specified for each individual "Part"
Do I need to create a new Command?
Again - I am NEW to this software - so any Assistance is appreciated
Thank You
Ziggy
How Do I???
Hi
Please see attached picture:
If the path is contained in the DataColumn, then this will work:
Thank you.
Please see attached picture:
If the path is contained in the DataColumn, then this will work:
Thank you.
- Attachments
-
- 319.ImageFromPathInDataColumn.png (37.97 KiB) Viewed 2137 times
How Do I???
hi my dear friends ...
i test the below code
but i got this error ... ->
c:\Documents and Settings\Majid\Local Settings\Temp\hw1u-wfy.0.cs(195,30) : error CS0117: 'Stimulsoft.Report.Components.StiImage' does not contain a definition for 'FromFile
i am using stimulreport 2010 ultimate...
i test the below code
but i got this error ... ->
c:\Documents and Settings\Majid\Local Settings\Temp\hw1u-wfy.0.cs(195,30) : error CS0117: 'Stimulsoft.Report.Components.StiImage' does not contain a definition for 'FromFile
i am using stimulreport 2010 ultimate...
How Do I???
Hello,
Please use following expression:
Thank you.
Please use following expression:
Code: Select all
{System.Drawing.Image.FromFile("123.jpeg")}