MapperDatasheetResolveExpression Method (String, DataTable, Int32, String) |
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
)
Protected Function ResolveExpression (
expression As String,
dt As DataTable,
nRow As Integer,
currentFieldKey As String
) As String
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.
Return Value
Type:
StringThe resolved expression.
See Also