ActiveReports 8
SetParameter Method
See Also 
GrapeCity.ActiveReports.Viewer.Win.v8 Assembly > GrapeCity.Viewer.Common.Model Namespace > ParameterizedReportExtensions Class : SetParameter Method

parameterizedReport
The report with the parameters to update.
name
The name of the parameter to update.
values
The new value of the parameter.

Glossary Item Box

Updates the value of a parameter in the report.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetParameter( _
   ByVal parameterizedReport As IParameterizedReport, _
   ByVal name As System.String, _
   ByVal values As System.Collections.Generic.IEnumerable(Of Object) _
) 
C# 
public static void SetParameter( 
   IParameterizedReport parameterizedReport,
   System.string name,
   System.Collections.Generic.IEnumerable<object> values
)

Parameters

parameterizedReport
The report with the parameters to update.
name
The name of the parameter to update.
values
The new value of the parameter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also