title: How to calculate an expression for each row of a datatable and add new column to the datatable based on the result got
body: <p>I have an expression as "((ID + DepartmentID)*ID) as ExpressionColumn" where ID,department are the columns of a datatable. How to execute the expression for each datarow and add new column to the datatable as "ExpressionColumn". Since the expression can vary based on User's selection, Kindly help me with a generic code to calculate the expression for each row/column and add new column to the datatable.</p>