Could you please show an example?
I do know from example 6.
Code: Select all
// Creating new report
var report = new Stimulsoft.Report.StiReport();
// Loading report template
report.loadFile("report/SimpleList.mrt");
// Renreding report
report.render();
// Saving rendered report to JSON string
var reportJson = report.saveDocumentToJsonString();
Also from example 5.
Code: Select all
var dataSet = new Stimulsoft.System.Data.DataSet("Demo");
// Load JSON data file from specified URL to the DataSet object
dataSet.readJsonFile("Demo.json");
// Remove all connections from the report template
report.dictionary.databases.clear();
// Register DataSet object
report.regData("Demo", "Demo", dataSet);
any help will be nice.