Data does not show in Web
-
- Posts: 74
- Joined: Sun May 20, 2007 9:14 pm
- Location: Singapore
Data does not show in Web
Hi,
I have a small problem.
In my preview, I can see my data.
But from my web, I cannot see anything when I run it from my visual studio except my header?
Does anyone have the same problem?
Thanks. Please teach me how to solve this problem.
I have a small problem.
In my preview, I can see my data.
But from my web, I cannot see anything when I run it from my visual studio except my header?
Does anyone have the same problem?
Thanks. Please teach me how to solve this problem.
Smile
Chan Kuan Leang
Chan Kuan Leang
Data does not show in Web
Please show code you are use for showing report.
-
- Posts: 74
- Joined: Sun May 20, 2007 9:14 pm
- Location: Singapore
Data does not show in Web
Thanks.Vital wrote:Please show code you are use for showing report.
The codes is as follow
Code: Select all
Imports Stimulsoft.Report
Imports Stimulsoft.Report.Web
Imports System.Data.SqlClient
Imports System.Web.Configuration
Partial Class APTrialBalanceSummary
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim Report As Stimulsoft.Report.StiReport = rwAPTrialBalance.GetReport()
StiWebViewer1.Report = Report
'StiWebViewer1.PrintToPdf()
End Sub
End Class
Smile
Chan Kuan Leang
Chan Kuan Leang
Data does not show in Web
Your code is correct. Please show your aspx page.
-
- Posts: 74
- Joined: Sun May 20, 2007 9:14 pm
- Location: Singapore
Data does not show in Web
Vital wrote:Your code is correct. Please show your aspx page.
Code: Select all
Logout
" SelectCommand="SELECT APTBAcctID, GroupName, AccountName, Debit, Credit, GroupID FROM qryAPTrailBalance">
Thanks
Smile
Chan Kuan Leang
Chan Kuan Leang
Data does not show in Web
Please check following code:
Code: Select all
Dim DataAdapter As SqlDataAdapter = New SqlDataAdapter("SELECT APTBAcctID, GroupName, AccountName, Debit, Credit, GroupID FROM qryAPTrailBalance", ConnectionStr)
Dim DataSet As DataSet = New DataSet
DataAdapter.Fill(DataSet)
DataAdapter.Dispose()
DataSet.Tables.Item(0).TableName = "sdsAPTrailBalance"
Dim Report As Stimulsoft.Report.StiReport = rwAPTrialBalance.GetReport()
Report.RegData("sdsAPTrailBalance", DataSet.Tables.Item(0))
StiWebViewer1.Report = Report
-
- Posts: 74
- Joined: Sun May 20, 2007 9:14 pm
- Location: Singapore
Data does not show in Web
I have put it in Page_Load, but, it still do not show data.Vital wrote:Please check following code:
Code: Select all
Dim DataAdapter As SqlDataAdapter = New SqlDataAdapter("SELECT APTBAcctID, GroupName, AccountName, Debit, Credit, GroupID FROM qryAPTrailBalance", ConnectionStr) Dim DataSet As DataSet = New DataSet DataAdapter.Fill(DataSet) DataAdapter.Dispose() DataSet.Tables.Item(0).TableName = "sdsAPTrailBalance" Dim Report As Stimulsoft.Report.StiReport = rwAPTrialBalance.GetReport() Report.RegData("sdsAPTrailBalance", DataSet.Tables.Item(0)) StiWebViewer1.Report = Report
Please advice.
Thanks
Smile
Chan Kuan Leang
Chan Kuan Leang
-
- Posts: 74
- Joined: Sun May 20, 2007 9:14 pm
- Location: Singapore
Data does not show in Web
I have put it in Page_Load, but, it still do not show data.Vital wrote:Please check following code:
Code: Select all
Dim DataAdapter As SqlDataAdapter = New SqlDataAdapter("SELECT APTBAcctID, GroupName, AccountName, Debit, Credit, GroupID FROM qryAPTrailBalance", ConnectionStr) Dim DataSet As DataSet = New DataSet DataAdapter.Fill(DataSet) DataAdapter.Dispose() DataSet.Tables.Item(0).TableName = "sdsAPTrailBalance" Dim Report As Stimulsoft.Report.StiReport = rwAPTrialBalance.GetReport() Report.RegData("sdsAPTrailBalance", DataSet.Tables.Item(0)) StiWebViewer1.Report = Report
Please advice.
Thanks
Smile
Chan Kuan Leang
Chan Kuan Leang
Data does not show in Web
Please place after GroupHeader a DataBand, then specify for it a DataSource and place the Text components with links to the fileds which must be shown inside each group.
Please note that for correct displaying the group you need a GroupHeader and a DataBand as well.
Thank you.
Please note that for correct displaying the group you need a GroupHeader and a DataBand as well.
Thank you.