Page 1 of 1

make report in runtime using dataset

Posted: Thu Apr 29, 2010 10:36 pm
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?


make report in runtime using dataset

Posted: Fri Apr 30, 2010 12:48 am
by Jan
Hello,

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

Thank you.

make report in runtime using dataset

Posted: Fri Apr 30, 2010 4:04 am
by reynard
ow.. ok.. thanks.. it works..

make report in runtime using dataset

Posted: Fri Apr 30, 2010 4:53 am
by Andrew
Please let us know if we may be of any further assistance.

Thank you.