Do dtEmp
on your current working DataTable:
DataTable distinctTable = dtEmp.DefaultView.ToTable( /*distinct*/ true);
It’s nice.
More Related Contents:
- LINQ query on a DataTable
- How to read a CSV file into a .NET Datatable
- Read SQL Table into C# DataTable
- How to select min and max values of a column in a datatable?
- How to compare 2 dataTables
- C# – Fill a combo box with a DataTable
- Convert DataTable to generic List?
- DataTable to JSON [duplicate]
- DataTable equivalent in Java [duplicate]
- Best way to check if a Data Table has a null value in it
- Get Cell Value from a DataTable in C#
- Returning DataTables in WCF/.NET
- Convert DataTable to List
- How to convert DataTable to class Object?
- Replacing a DataReader with a DataTable
- DataTable internal index is corrupted
- How can I convert a DataTable to an XML file in C#?
- Why can’t I do foreach (var Item in DataTable.Rows)?
- Priority queue in .Net [closed]
- Wait until a process ends
- Sorting rows in a data table
- Word wrap for a label in Windows Forms
- Find unused code [closed]
- Is it possible to write to the console in colour in .NET?
- What is the difference between using IDisposable vs a destructor in C#?
- How to resolve a .lnk in c#
- Enable Migrations with Context in Separate Assembly?
- Writing a CSV file in .net
- How to log all thrown exceptions?
- How does garbage collection and scoping work in C#? [duplicate]