Method AddCalculatedField
- Namespace
- ReportWright.Design
- Assembly
- ReportWright.Design.dll
AddCalculatedField(string, string, string)
Adds a calculated field (a Value expression instead of a DataField), as one entry.
public RdlElement AddCalculatedField(string dataSetName, string name, string expression)
Parameters
dataSetNamestringThe dataset.
namestringThe field name; made unique within the dataset.
expressionstringThe expression, for example
=Fields!Price.Value * Fields!Quantity.Value.
Returns
- RdlElement
The
Fieldelement.