I have a list of OrderStatus: List The OrderStatus class has the following columns: 1. ID 2. Amount 3. Cost 4. Margin I want to display subtotals for the selected ID rows the user selects. For example, if the user checks rows 1, 2, 3, 7, 8, 9, I would like to run a LINQ query to sum up the 3 columns and display subtotals. Unfortuantely, I am having issues getting the correct syntax. I can do one column at a time using the following code: var amount= from p in _orderStatusList where p.ItemGroupID
Read More...