Troubleshooting Exceptions: System.Data.InvalidExpressionException

An InvalidExpressionException exception is thrown when there is an attempt to add a DataColumn containing an invalid Expression to a DataColumnCollection.

Check the syntax of your expression.

The Expression property is used to calculate the value of a column or to create an aggregate column.

Community Additions