Web Report Data Not Showing

Stimulsoft Reports.NET discussion
Post Reply
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Web Report Data Not Showing

Post by fkmfkm »

Hi,

I have designed my report using StiReportWeb.

Now I have this code to bind it.

Dim dt As New dsAccount.AccountDataTable
Dim da As New dsAccountTableAdapters.AccountTableAdapter
dt = da.GetData()
dt.TableName = "Account"

Dim report As StiReport = Nothing
report = stiReport.GetReport
report.RegData("Account", dt)
stiViewer.Report = report

Problem is the records is not showing, I have confirm that the DataTable contains data.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Web Report Data Not Showing

Post by Edward »

Your code is correct. Please do the following steps:
1. Save the schema of the DataTable via WriteXml method in *.xml file
2. Save a report template from the Designer into mrt file.

After these steps please send this to Image for analysis.

Thank you.
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Web Report Data Not Showing

Post by fkmfkm »

I have send you the two files...

Thank you.
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Web Report Data Not Showing

Post by fkmfkm »

Edward,

I got it..I change the Data Name of the datasouce to Account and it is showing data now...

Thank a lot...
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Web Report Data Not Showing

Post by Edward »

Let us know if you need any help.

Thank you.
Post Reply