B
Big George
Trying to show a Crystal Report at WebForm1.aspx:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not Page.IsPostBack Then
showReport()
End If
End Sub
Private Sub showReport()
' Filling DataTable
'...
crReportDocument.SetDataSource(MyDataTable)
CrystalReportViewer1.ReportSource = crReportDocument
End Sub
Crystal Report shows on the web page very well. But if you click on
link page number 2, trying to get the next page, WebForm1.aspx will be
reloaded again, as page.ispostback. Then I can't see any more pages but
page1 of my Crystal Report. How could I show a Crystal Report, please?
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not Page.IsPostBack Then
showReport()
End If
End Sub
Private Sub showReport()
' Filling DataTable
'...
crReportDocument.SetDataSource(MyDataTable)
CrystalReportViewer1.ReportSource = crReportDocument
End Sub
Crystal Report shows on the web page very well. But if you click on
link page number 2, trying to get the next page, WebForm1.aspx will be
reloaded again, as page.ispostback. Then I can't see any more pages but
page1 of my Crystal Report. How could I show a Crystal Report, please?