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.
Load XML file in report dynamicly.
Re: Load XML file in report dynamicly.
Hello,
Please send us a sample project which reproduce the issue for analysis.
Thank you.
Please send us a sample project which reproduce the issue for analysis.
Thank you.