Image Problems

Stimulsoft Reports.NET discussion
Post Reply
ramesh
Posts: 6
Joined: Thu Oct 25, 2007 11:41 pm
Location: chennai

Image Problems

Post 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.

Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Image Problems

Post 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.
Post Reply