I have some variables that I would like to include in an expression statement for a column that is part of a datatable. Is this possible?
Printable View
I have some variables that I would like to include in an expression statement for a column that is part of a datatable. Is this possible?
Please explain it properly or if possbile then by any example scenario.
So instead of defining an expression based on math using other column names, e.g.:
DataGridView.Columns("SumZ").Expression = "HZ + RZ"
I want to do something like:
Dim mean As Integer = 10
DataGridView.Columns("SumZ").Expression = "(HZ + RZ) / mean"
Does this make sense?