Generate report don't use DataSource

Stimulsoft Reports.NET discussion
Post Reply
dung.itcdt
Posts: 7
Joined: Tue Aug 06, 2019 4:29 am

Generate report don't use DataSource

Post by dung.itcdt »

Hi all,
I want to create a report, using event BeginRender to create components (TextBox, Image...) add to DataBand,
Rendering to set text, style each cell (manual).
Both event I call by databand.Invoke....
But when I run my program, Databand always display style and data of last row.
Is there any way to do that?

Thanks!
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Generate report don't use DataSource

Post by HighAley »

Hello.

It's better to create reports in your code but not is the events of the same report.

You could learn how to create such report in this sample.
https://github.com/stimulsoft/Samples-W ... 20Creation

Thank you.
Post Reply