Hi Everyone.
I have datatable as attached file.
I want to check if the “item” and the “code” columns are same and the value at the “cost” columns are negative or positive then it will Sum the cost value as below picture.
How to do that with linQ ?
Thanks in advance!
Book1.xlsx (8.2 KB)