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.

Associated Tips

  • Check the syntax of your expression.
    The Expression property is used to calculate the value of a column or to create an aggregate column.

See Also

Tasks

How to: Use the Exception Assistant

Reference

InvalidExpressionException