how to use llblgen generated class as a datasource of stireport

Stimulsoft Reports.NET discussion
Post Reply
umit84
Posts: 1
Joined: Mon May 10, 2010 5:24 am
Location: izmir

how to use llblgen generated class as a datasource of stireport

Post by umit84 »

I am using LLBLGEN as a orm tool. I use classes generated by llblgen.
The problem is I want to use this classes as a datasource of stimulsoft report.I get errors.Can anybody help me?

-ContainerDamageEntity : LLBLGEN generated entity for ContainerDamaga table
-ClassContainerDamage: main class i use in my project.

class ClassContainerDamage : ContainerDamageEntity


ClassContainerDamage clsContainerDamage=new ClassContainerDamage();

// initilization of items of clsContainerDamage class.


stiReport1.Compile();
stiReport1.RegData("damage",clsContainerDamage);
stiReport1.Design();


The error messase i get is:

The type or namespace name 'SD' couldnt be found.

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

how to use llblgen generated class as a datasource of stireport

Post by Jan »

Hello,

You need add reference to your assembly which contain type defenition for your business objects into ReferencedAssemblies of StiReport object. You can do this in report designer. Please check following live video:

http://www.stimulsoft.com/livedemos/Rep ... bject.html

Also you can check new Business Objects which available in 2010.1 version. Please check following live videos how to use it:

http://www.stimulsoft.com/livedemos/Rep ... eList.html
http://www.stimulsoft.com/livedemos/Rep ... etail.html

Thank you.
Post Reply