[]
Gets a value representing the collection of report parameters.
[Browsable(false)]
public ParameterCollection Parameters { get; }
Type | Description |
---|---|
ParameterCollection | A ParameterCollection value that represents the reference to the collection of data source query parameters. |
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
var parameter = new GrapeCity.ActiveReports.SectionReportModel.Parameter
{
Key = "CategoryKey",
Prompt = "Category",
Type = Parameter.DataType.String
};
sectionReport.Parameters.Add(parameter);
var result = sectionReport.Parameters["CategoryKey"].Value;