Display Image in Crystal reports Using URL(使用 URL 在 Crystal 报表中显示图像)
问题描述
我想在水晶报表中显示图像.场景是这样的.
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 时,它会显示完整的 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 附带的 Crystal Reports,则不支持此功能.它将显示存储在 db 字段中的图像,但不是来自 url.
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.
这篇关于使用 URL 在 Crystal 报表中显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用 URL 在 Crystal 报表中显示图像
基础教程推荐
- 如何动态获取文本框中datagridview列的总和 2022-01-01
- 全局 ASAX - 获取服务器名称 2022-01-01
- 在 VS2010 中的 Post Build 事件中将 bin 文件复制到物 2022-01-01
- 从 VS 2017 .NET Core 项目的发布目录中排除文件 2022-01-01
- 是否可以在 asp classic 和 asp.net 之间共享会话状态 2022-01-01
- JSON.NET 中基于属性的类型解析 2022-01-01
- 错误“此流不支持搜索操作"在 C# 中 2022-01-01
- 将事件 TextChanged 分配给表单中的所有文本框 2022-01-01
- 首先创建代码,多对多,关联表中的附加字段 2022-01-01
- 经典 Asp 中的 ResolveUrl/Url.Content 等效项 2022-01-01
