I need to get the sum of Product of two columns of datatable in dataset.
There were no relations in the datatable.
i used the code
dataset.Tables("ABC").Compute("Sum(Price1 * Price2)","")

Where price1 and Price2 are column names in the data table.

i am getting an exception with message
"Syntax error in aggregate argument: Expecting a single column argument with possible 'Child' qualifier".


Anybody know the solution, plz reply. its urgent.

Thanks