使用物理路径在水晶报告中显示图像 [英] display image in crystal report using physical path
问题描述
我使用vb.net和访问。其中我有一个字段,其中我只保存了该图像的路径。现在我想显示该图像在水晶报告dynamic.so我该怎么办?我想要获取水晶报告中的图像路径并显示在其中。
请尝试向我显示一个代码,以便我可以识别
不要直接使用CR的物理路径。
这里是一个使用数据表的代码项目解决方案:
http://www.codeproject.com/KB/ vb / Image_in_Crystal_Reports.aspx
很简单,C#和一点老,但我想你得到的伎俩。
i am using vb.net and access. in which i have one field in which i have saved only the path of that image. Now i want to display that image in crystal report dynamic.so what should i do? i want to fetch the image path in crystal report and display in it.
please try to show me a code so i can identify
reply me soon
thanks
Don't use physical paths with CR directly. Store your image in a datatable or in a binary field of your database and show that.
Here is a code project solution that uses datatables:
http://www.codeproject.com/KB/vb/Image_in_Crystal_Reports.aspx
It's simple, C# and a little old, but I think you get the trick.
这篇关于使用物理路径在水晶报告中显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!