Page 1 of 1

Image Problems

Posted: Thu Oct 25, 2007 11:59 pm
by ramesh
hi,

i am using the stimulsoft web report. in that report i am using the XSD data source.

First i design the report with xsd

column of that xsd is ( imag(Byte[]))

i placed one control name Image in report in design time. And set the datacolumn Property of image is Para.imag.

i bound the xml file in the run time in dot net.
but the image not shown in the report

what is the problem. please give solutions .

thanks in advance.


Image Problems

Posted: Fri Oct 26, 2007 8:04 am
by Guest
Try to create web project with images(Countries table) from Demo.xml, which is include in the standard distribution of Stimulsoft Report.Net. If this project will work, then the problem is in your images.

For working with StiWebViewer you must use approximately following code:

Code: Select all

StiReport report = new StiReport();
DataSet data = new DataSet();
data.ReadXml("PathToXMLFile");
data.ReadXmlSchema("PathToXSDFile");
report.RegData(data);
report.Load("PathToMRTFile");
report.Dictionary.Synchronize();
StiWebViewer1.Report = report;
Thank you.