Arithmetic Expressions
The DGV Framework has the Power to execute any arithmetic expressions.
Wrap the expression with @(ExpresionHere)
and the framework will execute the expression and replace it with the output value.
Basic Usage
_dataGridView
.SetColumnAlias("Column1", "[@(1+2+(3*4))]");
Use with Tagging
_dataGridView
.SetColumnAlias("Column1", "[@(@id*100)]");
Use as Parameters
_dataGridView
.SetColumnAlias("Column1", "GetMax(@(100*2),@(100*3))");
Last updated
Was this helpful?