stiReportweb in VB code

Stimulsoft Reports.NET discussion
Post Reply
Chan Kuan Leang
Posts: 74
Joined: Sun May 20, 2007 9:14 pm
Location: Singapore

stiReportweb in VB code

Post by Chan Kuan Leang »

Hi,

Can someone teach me how to create stiReportWeb with VB code in the page_load in aspx form?
I had been trying to view a report, but I cannot.

In the flash tutorial, it is in C# which I am not able to understand well.

Thank you.
Smile
Chan Kuan Leang
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

stiReportweb in VB code

Post by Vital »

Please use following code:

Code: Select all

Dim Report As Stimulsoft.Report.StiReport = StiWebReport1.GetReport()
StiWebViewer1.Report = Report
If you have any questions regarding using StimulReport.Net please contact us.

Thank you.
Chan Kuan Leang
Posts: 74
Joined: Sun May 20, 2007 9:14 pm
Location: Singapore

stiReportweb in VB code

Post by Chan Kuan Leang »

Vital wrote:Please use following code:

Code: Select all

Dim Report As Stimulsoft.Report.StiReport = StiWebReport1.GetReport()
StiWebViewer1.Report = Report
If you have any questions regarding using StimulReport.Net please contact us.

Thank you.
Sorry, after testing, I still unable to get it load into the aspx page.
There is an error saying 'GetReport' is not a member of 'Stimulsoft.Report.Web.StiWebViewer'.

Can I know how to solve this?

Thanks
Smile
Chan Kuan Leang
Post Reply