I am trying to create dynamic columns by creating column header and assigning the list of string values based on the index to the column databinding and while i am trying to add aggregation to the columns i am facing runtime issue as mentioned below.
"No generic method 'Sum' on type 'System.Linq.Enumerable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic."
I am unable to resolve this issue after number of workarounds.
Kindly provide me a solution ASAP.