Click or drag to resize

MapperDatasheetResolveExpression Method (String, DataTable, Int32, String, ExpressionResolutionFlags)

Resolve an expression possibly having field references. Since while filling the datasheet the fields data has already passed through the fields and left them positioned beyond the last row of interest, we need to get the field values from the DataTable.

Namespace:  NetQuarry.Data.WebMappers
Assembly:  EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
protected string ResolveExpression(
	string expression,
	DataTable dt,
	int nRow,
	string currentFieldKey,
	ExpressionResolutionFlags flags
)

Parameters

expression
Type: SystemString
The expression to resolve.
dt
Type: System.DataDataTable
The field values.
nRow
Type: SystemInt32
The row of interest.
currentFieldKey
Type: SystemString
The current field, if any, for resolving [.] references.
flags
Type: NetQuarry.DataExpressionResolutionFlags
Flags modifying how expression resolution is to be performed.

Return Value

Type: String
The resolved expression.
See Also