I have an array of DataRow objects in my C# project which I would like to Sum various fields from.
Instead of running through each row and totalling my own sums I noticed the DataRow[].Sum<> function but I am struggling to find any resources on the net on how to use it.
Any pointers in the right direction would be very helpful
:) Removed code example as it was wrong! All now works fine - the link helped cheers Marc.