How to filter the duplicate records from datatable using linq?
Are you looking for a way to filter the duplicate records from datatable using linq? then read this thread to know how to do it in linq
Hi
I need linq query to delete the duplicate records from the datatable that contains specific words in that datacolumn. Kindly give me the solution for this problem.
In Datatable, i have the following rows
studentid studentname coursename
1 Abhi Course - I
1 Abhi Course - II
[Hint : I need to filter the duplicate records based on Coursename contains the word Course]
Expected Output:
studentid studentname coursename
1 Abhi Course - I