Using business objects in the report
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.A report can be bound to a business object registered from code before it is shown or designed.
Register the object.
How it works. The report renders directly from the registered object, so your domain classes drive the output with no dataset conversion.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:

Register the object.
Report = new StiReport();
Report.Load(await Http.GetByteArrayAsync("Reports/BusinessObjects.mrt"));
var list = GetBusinessObject();
Report.RegBusinessObject("MyList", list);
Report.Dictionary.Synchronize();RegBusinessObject(name, object)— exposes an in-memory object as a data source under the given name.Dictionary.Synchronize()— generates the fields that match the object's properties.
How it works. The report renders directly from the registered object, so your domain classes drive the output with no dataset conversion.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:
