Load XML file in report dynamicly.

Stimulsoft Reports.NET discussion
Post Reply
roomy
Posts: 61
Joined: Mon May 06, 2013 12:34 pm

Load XML file in report dynamicly.

Post by roomy »

I want to attach my xml file with report using C# code,

StiReport report = new StiReport();
string templatePath = GetReportmrt(reportID);
report.Load(templatePath);
DataSet ds = new DataSet();
ds.ReadXml(fullDataPath);
report.Dictionary.DataSources.Clear();
report.RegData(ds);
report.Dictionary.Synchronize();
report.Compile();

But the problem is it may be posible no of nodes in XML file change, in that condition I got an error.
assambly ref. missing.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Load XML file in report dynamicly.

Post by Alex K. »

Hello,

Please send us a sample project which reproduce the issue for analysis.

Thank you.
Post Reply