将动态图像导入到没有数据库的Crystal报表 [英] Importing Dynamic Images to the Crystal Report without Database
问题描述
大家好
我想在不使用数据库的情况下将Image导入Crystal Report
例如,我访问TextObject Crystal控制报告:
Hi All
I want to import Image to the Crystal Report without using the Database
for Example , I access to the TextObject Control in Crystal report :
rpt_Agent_keshvari rptagen = new rpt_Agent_keshvari(); //Crystal Report File
((CrystalDecisions.CrystalReports.Engine.TextObject)rptagen.ReportDefinition.Sections["Section3"].ReportObjects["Text2"]).Text = "Agent";
crystalReportViewer1.ReportSource = rptagen;
但我无法访问我在Crystal Report中插入的图片框对象
rpt_Agent_keshvari rptagen = new rpt_Agent_keshvari(); //我创建的Crystal Report文件
picturebox1.image = rptagen.ReportDefinition.Sections [section3]。ReportObjects [picture3])。image; //错误
tnx
But I Can't Access to the picturebox object that I inserted in Crystal Report
rpt_Agent_keshvari rptagen = new rpt_Agent_keshvari(); //Crystal Report File that i Created
picturebox1.image = rptagen.ReportDefinition.Sections["section3"].ReportObjects["picture3"]).image;//wrong
tnx
推荐答案
plz refer
如何使用ASP.Net和C sharp动态地将图像从本地驱动器加载到水晶报告中? [ ^ ]
plz refer
how to dynamicaly load an image from local drive into crystal report using ASP.Net and C sharp?[^]
这篇关于将动态图像导入到没有数据库的Crystal报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!