What may be in object sent to RegData?

Stimulsoft Reports.NET discussion
Post Reply
oton
Posts: 8
Joined: Tue Aug 26, 2008 3:12 am
Location: Czech Republic

What may be in object sent to RegData?

Post by oton »

Hello. I would like to use in my report an array of objects of my class. I noticed that RegData() accepts an array of objects and the report can find the data in their properties (for example, when I send an array of objects of my class Person and the class has property Name, I may write Record.Name into report scheme and the report finds it). But is it possible to use an array of objects which data are not stored in properties but some other way? May I implement some method that finds data according to the column name (for example, Person.GetData("Name") ) that will be called?

I don't want to copy the data into DataSet or DataTable for effectivity reasons.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: What may be in object sent to RegData?

Post by Jan »

Hello,

Thank you for your question.

Try to use RegBusinessObject instead RegData. RegBusinessObject work with objects directly without conversation.

Thank you.
Post Reply