make report in runtime using dataset

Stimulsoft Reports.WPF discussion
Post Reply
reynard
Posts: 5
Joined: Thu Apr 29, 2010 10:24 pm

make report in runtime using dataset

Post by reynard »

i don't understand how to create report from data set..
my source code is..

Dim Data As DataSet = New DataSet()
Dim Report As StiReport = New StiReport()
Report.RegData("QueryKB", Data)
Report.RenderWithWpf()
Report.ShowWithWpf()

it shows nothing.. what should i do?

i can display the content from my database to my grid but when i try to render the report it shows nothing.

i read the manual.. that said "In data source you should create a parameter".. what data source do you mean?

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

make report in runtime using dataset

Post by Jan »

Hello,

I think you skip Load method in your code. You need load report before report rendering.

Thank you.
reynard
Posts: 5
Joined: Thu Apr 29, 2010 10:24 pm

make report in runtime using dataset

Post by reynard »

ow.. ok.. thanks.. it works..
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

make report in runtime using dataset

Post by Andrew »

Please let us know if we may be of any further assistance.

Thank you.
Post Reply