/// <devdoc> /// <para>Computes the given expression on the current rows that pass the filter criteria.</para> /// </devdoc> public object Compute(string expression, string filter) { DataRow[] rows = Select(filter, "", DataViewRowState.CurrentRows); DataExpression expr = new DataExpression(this, expression); return expr.Evaluate(rows); }