LINQ sums for distinct values
LINQ
1
Posts
1
Posters
3
Views
1
Watching
-
Hello ! I have the following values . ________________________________________ Department ID|||||Income ---------------------------------------- 100 ||||| 350 200 ||||| 500 300 ||||| 450 100 ||||| 600 500 ||||| 550 200 ||||| 700 _______________________________________ How can I get the sum of Income for each Department ID , providing that the values come from separate tables ? I want to display each distinct department id too .