See Also

Parameter Class  | Parameter Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Value Property

Gets or sets the value of the parameter to be used in parameter placeholder substitution.

[Visual Basic]
Public Property Value As String
[C#]
public string Value {get; set;}

Return Type

A string value that is used to replace the parameter placeholder text in the report's data source SQL query.

Example

[C#] 

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

    ActiveReport1 rpt = new ActiveReport1(); 
    rpt.Parameters["country"].Value = "Germany"; 
    rpt.Run(); 
    arv.Document = rpt.Document; 
}

[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.Parameters("country").Value = "Germany"
    rpt.Run()
    arv.Document = rpt.Document
End Sub

See Also

Parameter Class  | Parameter Members

 

 


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