I was trying to group duplicate expenses and sum up their values using below invoke code
results = table.AsEnumerable()
.GroupBy(r => r.Field(“Expense”))
var row = table.NewRow();
row.ItemArray = new object
g.Sum(r => r.Field(“price”)),
But the error was thrown like"Invoke code: Exception has been thrown by the target of an invocation."
Please help me to resolve this issue