Try
DataTable.DefaultView.ToTable(bool distinct, string[] ColumnNames)
The third overload on what you are looking for, I believe, let me know how you are doing.
- Indicate which columns should be released in row []
- And true false for individual entries
That way, you can simply select a subset of the data or deduplicate by setting other than true.
You will need to do something to get your dataset the way you want it, but I think this is what you need.
source share