See Also

Parameters Class  | Parameters Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Count Property

Gets the number of parameters in the collection.

[Visual Basic]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}

Example

[C#] 

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

    rptDataDynamics rpt = new rptDataDynamics(); 
    if (rpt.Parameters.Count > 0) 
    { 
        rpt.ShowParameterUI = true; 
    } 
    rpt.Run(); 
    this.arv.Document = rpt.Document; 
}

[Visual Basic] 

Private Sub Viewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Viewer1.Load
    Dim rpt As New rptDD
    If rpt.Parameters.Count > 0 Then
        rpt.ShowParameterUI = True
    End If
    rpt.Run()
    Me.Viewer1.Document = rpt.Document
End Sub

See Also

Parameters Class  | Parameters Members

 

 


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