Reports can be bound directly to your application's business objects — collections implementing IEnumerable or ITypedList.

Registering the objects. Build the object collection, register it as a business data source, synchronize the dictionary, and render the report.
var report = new StiReport();
report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
report.Load("Reports/BusinessObjects_IEnumerable.mrt");
report.ShowWithWpf();     // or report.DesignV2WithWpf();
The same works for an ITypedList source, which additionally exposes column metadata. Binding to business objects lets a report consume the very domain classes your application already uses, without converting them to datasets first.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.