Hi,
I'm having a datatable like mentioned below.
ID Percentage
1 50
1 30
2 0
2 100
Result:
ID Percentage
1 80
2 100
Now I need to sum the percentage for each ID and the percentage for each ID should be 0 or 100 percentage.
If any one of the ID in table doesn't have 0 or 100 I need to alert. Pls suggest me how I can do this in linq and I think its the best way.

Guest UserRank #816 · 2.8K reputationPosted Apr 23, 2015, 12:16 AM EDT
Lawrence P4 reputationPosted Sep 9, 2015, 8:05 PM EDT