I want to sum up the qunatites for different products. I'm new to Linq and I'm not able to get the expected data. Please help.
My Datatable looks like this:
Proname | Qty1 | Qty2 | Qty3
----------------------------
A       | 2    | 0    | 4 
A       | 0    | 4    | 5
A       | 3    | 2    | 0
B       | 5    | 4    | 2
C       | 6    | 4    | 3
C       | 1    | 1    | 1
Expected Result :
Proname | Qty1 | Qty2 | Qty3
----------------------------
A       | 5    | 6    | 9 
B       | 5    | 5    | 5
C       | 7    | 5    | 4
 
     
    
