arraylist as datasource

Stimulsoft Reports.NET discussion
Post Reply
Naveen Aggarwal
Posts: 70
Joined: Wed Feb 24, 2010 11:08 am
Location: India

arraylist as datasource

Post by Naveen Aggarwal »

Hi

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

Thanks !
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

arraylist as datasource

Post 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.
Naveen Aggarwal
Posts: 70
Joined: Wed Feb 24, 2010 11:08 am
Location: India

arraylist as datasource

Post by Naveen Aggarwal »

Thanks a lot for your reply sir.
How to make it visible in designer ?



Thanks once again !
Regards!
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

arraylist as datasource

Post by Jan »

Hello,

Please try to use code:

Code: Select all

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