See Also

ActiveReport Class  | ActiveReport Members  | Scripting

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Show Method

Loads the report layout, runs it with the bound data source and any script in the report xml, and shows it in a viewer.

[Visual Basic]
Public Sub Show()
[C#]
public void Show();

Remarks

There is no need to place a viewer control on a form when using this method. Note that any code behind the report is ignored when using this method. If you need to use code in a report using the Show method, you must use script to embed the code into the rpx (report xml) file for the report.  See the link to Scripting below for more information.

Example

[Visual Basic] 

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim rpt As New ActiveReport1
    rpt.Show()
End Sub

[C#] 

private void button1_Click(object sender, System.EventArgs e) 

    ActiveReport1 rpt = new ActiveReport1(); 
    rpt.Show(); 
}

See Also

ActiveReport Class  | ActiveReport Members  | Scripting

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.