See Also

Parameter Members  | DataDynamics.ActiveReports Namespace  | Parameters class  | Parameters property

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Parameter Class

A Parameter is used to substitute values for parameter placeholders in the report's data source SQL query text.

For a list of all members of this type, see Parameter members.

Inheritance Hierarchy

System.Object
   DataDynamics.ActiveReports.Parameter

Syntax

[Visual Basic]
Public Class Parameter
[C#]
public class Parameter

Example

[C#] 

private void rptDataDynamics_ReportStart(object sender, System.EventArgs eArgs) 

    this.Parameters[0].DefaultValue = "Germany"; 
    this.Parameters[0].Key = "country"; 
    this.Parameters[0].Prompt = "Country: "; 
    this.Parameters[0].Tag = "some extra data"; 
    this.Parameters[0].Type = Parameter.DataType.String; 
}

[Visual Basic] 

Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    Me.Parameters(0).DefaultValue = "Germany"
    Me.Parameters(0).Key = "country"
    Me.Parameters(0).Prompt = "Country: "
    Me.Parameters(0).Tag = "Some extra data"
    Me.Parameters(0).Type = Parameter.DataType.String
End Sub

See Also

Parameter Members  | DataDynamics.ActiveReports Namespace  | Parameters class  | Parameters property

 

 


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