开发者

Is it possible to set an image on a Reporting Services Report from memory?

开发者 https://www.devze.com 2023-02-15 11:09 出处:网络
I am 开发者_运维百科trying to figure out a way to programatically set an image on a Visual Studio Report where the image doesn\'t come from a file or from the database but from the running application

I am 开发者_运维百科trying to figure out a way to programatically set an image on a Visual Studio Report where the image doesn't come from a file or from the database but from the running application.

My best guess is to somehow subvert the Embedded or Database Source types but I have been unable to figure out how to do this.

Do I really want to do this? Yes. The images are not in the database and can't be access via the file system for security reasons. I plan to Render the report directly to a PDF file stream to hopefully keep the memory footprint down.


Here is a revised solution:

Is it possible to set an image on a Reporting Services Report from memory?


You can save the image temporarily in the database after the user selects it from your app... in a table used for just that, clear out the table periodically, if you never really want to save this image. Then display in the report by passing the imageID for the table; based on what you said above it sounds like you know how to display an image saved in your database but if not I can give you a tutorial link.

0

精彩评论

暂无评论...
验证码 换一张
取 消