Page 1 of 1

Web Report Data Not Showing

Posted: Sat Jul 07, 2007 3:09 am
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.

Web Report Data Not Showing

Posted: Sat Jul 07, 2007 4:08 am
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.

Web Report Data Not Showing

Posted: Sat Jul 07, 2007 11:30 am
by fkmfkm
I have send you the two files...

Thank you.

Web Report Data Not Showing

Posted: Sun Jul 08, 2007 3:25 am
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...

Web Report Data Not Showing

Posted: Mon Jul 09, 2007 1:22 am
by Edward
Let us know if you need any help.

Thank you.