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

Registering the objects. Register the collection under a name, load a template built against it, and render:
var report = new StiReport();
report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
report.Load("BusinessObjects_IEnumerable.mrt");
report.Show();

How it works. The report consumes the very domain classes your application already uses; switching between IEnumerable and ITypedList only changes how column metadata is discovered.

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