C# .NET - Datatable compute not working
Asked By sunil p on 11-Jul-12 07:31 PM
Hi,
I want to Sum the datatable column value.I am using Copmute method to achive this.
HiddenField.value=dt.Compute("sum(columnname)",string.Empty).Tostring();
But i am getting this error message"Syntax error in aggregate argument: Expecting a single column argument with possible 'Child' qualifier"
Please anybody resolve this problem
Thanks,
sunil