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.

Hallo! Brauchen Sie Hilfe?