Reports can be bound directly to your application's business objects — any IEnumerable collection — without converting them to datasets first.

Register the objects. Register the collection under a name, then load a template built against it:
var report = new StiReport();
report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
report.Load(AssetLoader.Open(new Uri("avares://…/BusinessObjects_IEnumerable.mrt")));

How it works. Field names in the template map straight onto the object's properties, so the report renders directly from live objects.

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