在Crystal报表中显示图像使用URL [英] Display Image in Crystal reports Using URL

查看:400
本文介绍了在Crystal报表中显示图像使用URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在水晶报表中显示图片。
Scenario是这样的。

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.

当我填写我的 datatable 它显示我完整的网址。当我在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆