带有图像的RDLC(图像未显示在报告中) [英] RDLC with Images (Image not showing in report)

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

问题描述

大家好,
我正在使用asp.net(3.5)中的Web应用程序,并且文件夹中有图像(图像),我想在RDLC报告中打印这些图像.我正在关注:-

image1.Source =外部
image1.Value ="..Images/img.jpg"

但是它不能正常工作,我是否缺少任何步骤.请告诉我.
在此先感谢

问候..
dEV kASHYAP

Hello everybody,
I am working with web application in asp.net (3.5) and i have images in a folder (Images), and i want to print these images in RDLC Report. I am doing follwing:-

image1.Source = External
image1.Value = "..Images/img.jpg"

But it is not working properly, am i missing any step. Please tell me.
Thanks in advance

Regards..
dEV kASHYAP

推荐答案

听Dev尝试一下
转到Rdlc报表,然后转到报表数据(Alt + Ctrl + Del),然后您将看到images文件夹,右键单击该图像并添加您的图像,并研究rdlc报表的行为
Listen Dev try this
Go to Rdlc report and go to Report Data (Alt + Ctrl + Del) and then u will see images folder right click on that image and add your image and study the behaviour of rdlc report


我们必须在图像路径的前面添加"file:"键.

例如:-
文件:"和Fields.Path.Value

在此文件:"中,是在本地计算机和
上查找图像文件路径的键. Fields.Path.Value是具有图像值的参数.
We have to add "file:" key infront of image''s path.

For example:-
"file:" & Fields.Path.Value

In this "file:" is a key to find the image file path on local computer and
Fields.Path.Value is a parameter which have value of image''s .


这篇关于带有图像的RDLC(图像未显示在报告中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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