[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.QueryParameter

QueryParameter Class

Represents a QueryParameter element of a Query, containing information about a parameter passed to the data source as part of the query.

Inheritance
QueryParameter
Implements
Namespace: GrapeCity.ActiveReports.PageReportModel
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public sealed class QueryParameter : IValidateable
Remarks

Query parameters are used to dynamically filter data retrieved from the data source by passing user-provided or calculated values.

Examples
QueryParameter queryParam = new QueryParameter { Name = "StartDate", Value = "=Parameters!StartDate.Value" };

Constructors

Name Description
QueryParameter()

Initializes a new instance of the QueryParameter class.

Properties

Name Description
Name

Gets or sets a name for the parameter.

Value

Gets or sets an expression that evaluates to the parameter value to pass to the data source.

Methods

Name Description
Validate(ValidationContext)

Validates the current state of the QueryParameter object.

Extension Methods