What may be in object sent to RegData?
Posted: Mon Jun 22, 2015 2:47 pm
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.
I don't want to copy the data into DataSet or DataTable for effectivity reasons.