Page 1 of 1
Business Object question
Posted: Sat Jun 02, 2012 8:19 pm
by mostafaxx
hi there,
i have a class that represents an invoice,
it have two double fields and an List collection
the problem is i really don't know how to bind the report template that i have made by the designer and the data structure at runtime.
i don't know if i should use StiReport.RegBusinessObject() or StiReport.RegData()..??
and what does the first string parameter is supposed to be exactly..??
Business Object question
Posted: Mon Jun 04, 2012 1:58 am
by Alex K.
Hello,
Both methods register data in a data store of a report, to which a report generator will refer. The RegData method will register any object in an ADO.NET DataSet object. If you register a business object, it will be converted into a DataSet. The report generator works with data and ADO.NET DataSet methods. All data, registered this way, are presented in the form of a tree (from child element to the parent). The reporting tool can re-sort, group, filter, create new relationships in the data registered this way. The RegBusinessObject method registers the data as a business object. No conversion is performed. Data are presented as is. The data tree is displayed from the parent to slave. Also you cannot create new relations between objects. Also sometimes have some problem with anonymous types.
Thank you.
Re: Business Object question
Posted: Wed Sep 05, 2012 11:19 am
by farajzadeh
I have one group footer in report after databind, but it show under each databind detail row.
should i set some property or not?
When I change your master-detail sample about business object and add group header and footer for it, it show group header but not show group footer!
thanks for your attention...
Re: Business Object question
Posted: Thu Sep 06, 2012 7:30 am
by Alex K.
Hello,
Can you please send us your report on
support@stimulsoft.com for analysis.
Thank you.