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.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.