DataView view = new DataView(table);
DataTable distinctValues = view.ToTable(true, "Column1", "Column2" ...);
More Related Contents:
- How to select min and max values of a column in a datatable?
- Datatable select with multiple conditions
- Convert generic List/Enumerable to DataTable?
- How to read a CSV file into a .NET Datatable
- Convert JSON to DataTable
- Distinct by property of class with LINQ [duplicate]
- Inner join of DataTables in C#
- How To Change DataType of a DataColumn in a DataTable?
- Best way to remove duplicate entries from a data table
- How I can filter a Datatable?
- Compare two DataTables to determine rows in one but not the other
- Export DataTable to Excel File
- How to create a DataTable in C# and how to add rows?
- Convert DataTable to generic List?
- DataTable, How to conditionally delete rows
- Data is visible in DataSet visualizer but does not show in a DataGrid
- Selecting specific values on a Chart
- Best way to check if a Data Table has a null value in it
- Datatable to html Table
- Best Practice: Convert LINQ Query result to a DataTable without looping
- Get Cell Value from a DataTable in C#
- How to change DataTable columns order
- How do I loop through rows with a data reader in C#?
- Right click to select a row in a Datagridview and show a menu to delete it
- Select all columns after JOIN in LINQ
- How to Read text file to DataTable [closed]
- How to convert DataTable to class Object?
- How can I convert a DataTable to an XML file in C#?
- Is it possible to format a date column of a datatable?
- How do you Sort a DataTable given column and direction?