Page 1 of 1

arraylist as datasource

Posted: Tue Apr 06, 2010 11:16 pm
by Naveen Aggarwal
Hi

Is it possible to use an arraylist as a datasource for the report ?

Thanks !

arraylist as datasource

Posted: Wed Apr 07, 2010 1:08 am
by Jan
Hello,

You can use following code to register business object:

Code: Select all

report.RegData("MyData", list);
also in latest version of our software you can use following code:

Code: Select all

report.RegBusinessObject("MyData", list);
Thank you.

arraylist as datasource

Posted: Wed Apr 07, 2010 11:02 am
by Naveen Aggarwal
Thanks a lot for your reply sir.
How to make it visible in designer ?



Thanks once again !
Regards!

arraylist as datasource

Posted: Thu Apr 08, 2010 12:20 am
by Jan
Hello,

Please try to use code:

Code: Select all

report.RegData("MyData", list);
report.Dictionary.Synchronize();
report.Design();
Thank you.