Remove Duplicates in Dataset Efficiently

Hello guys, Do you remember the pain of removing duplicates in fetched dataset by looping, comparing etc. it can be handled easily by using DataView.ToTable Method. The syntax is below. DataView.ToTable(bool distinct, string[] columnNames) distinct: If it’s true, the returned DataTable contains rows that have distinct values for all its columns specified in the second… Continue reading Remove Duplicates in Dataset Efficiently

Published
Categorized as ADO.NET/EF