Share via

Data grouping in WPF

Pratham Jain 351 Reputation points
2023-09-06T06:39:16.1066667+00:00

Hi All, I am working on a WPF application where data is returned to UI from datatable. This datatable has five columns including a "count" column and I want to group data in datatable based on other four columns and this count table should display the sum of "count" values for a group. Please advise how can I implement the same using C#. Thanks and Regards

Developer technologies | Windows Presentation Foundation

Answer accepted by question author

Olaf Helper 47,621 Reputation points
2023-09-06T06:47:54.4666667+00:00

One option is Linq: Group query results

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.