显示图像的Crystal报表使用URL [英] Display Image in Crystal reports Using URL
问题描述
我要显示图像中的水晶报表。 情况是这样的。
I want to show image in a crystal report. Scenario is something like this.
我在那里的图像的我的路径,坚持一个数据库。 如 FTP://Images/1.jpg
I have a database where my path of an image is persisting. eg ftp://Images/1.jpg
现在我想在水晶报表重复这一形象。
Now i want to repeat this image in a crystal report.
当我充满了我的数据表
它让我完整的URL。当我的GridView显示这个领域我使用 imageBox
来显示我的形象和它的作品对我来说非常好。
When i fills my datatable
it shows me complete url. When i displays this field in GridView i uses imageBox
to display my image and it works for me very fine.
但是,当我试图用水晶报表做同样的,它开始我显示图像的路径,因为它是。现在在这里,而不是路径我想要显示的图像。
But when i tries to do the same with crystal reports, it starts me showing image path as it is. Now here instead of path i want an image to be displayed.
推荐答案
我知道,如果你使用的是水晶报表随Visual Studio,这是不支持的。它会显示存储在一个数据库字段的图像,而不是从一个网址。
I know that if you are using the Crystal Reports included with Visual Studio, this is not supported. It will display images stored in a db field, but not from a url.
我认为(但不知道是肯定的),任何版本的Crystal支持FTP协议来显示图像。
I think (but do not know for sure) that no version of Crystal supports the ftp protocol for displaying images.
这篇关于显示图像的Crystal报表使用URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!