web report using sqldatasource object as datasource
Posted: Tue Jul 21, 2009 2:44 pm
I just downloaded trial version of stimulsoft reports.net 2009.1 I am having a difficult time getting the web viewer to display data from a sqldatasource. The report displays labels, but no data. When I preview the report in designer, it displays correctly. Also, when I click Show report from the stiwebreport context menu, the report displays correctly. I cannot find any examples using sqldatasource. I added a datagrid to the page to verify that the sqldatasource is loading data. What am I missing?
Code: Select all
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim report As Stimulsoft.Report.StiReport = StiWebReport1.GetReport
StiWebViewer1.Report = report
End Sub