score:2
Accepted answer
mydatatable.asenumerable()
.select(row => row.field<datetime>("mydatecolumn").date).distinct();
Source: stackoverflow.com
Related Query
- linq select distinct date from a DataTable
- Select distinct rows from datatable in Linq
- Select Distinct from DataTable using Linq and C#
- Select distinct and date difference in Linq to SQL from two dataTables
- Select Distinct from list in date range with LINQ
- LINQ distinct items by Date part only from DateTime field in Select clause
- Select distinct values from a list using LINQ in C#
- Linq - Select Date from DateTime
- Select Distinct List of Words from Array with LINQ
- LINQ Select DataRow from DataTable
- LINQ Select distinct from a List?
- LINQ Select From DataTable
- get distinct rows from datatable using Linq (distinct with mulitiple columns)
- c# Linq select distinct date time days
- Selecting distinct rows from datatable in Linq
- LINQ to select a column with max date from a group
- LINQ Select distinct on DataTable not working
- LINQ DataTable Select Distinct Rows
- How to select distinct employees with LINQ based on ID from an employee collection where employee 's salary is 2nd highest?
- LinQ query select DataRow from DataTable
- How to select multiple columns from datatable in linq group by?
- Linq query how to select last one week data from today's date
- LINQ to SQL select distinct from multiple colums
- Get distinct items from DataTable using LINQ
- C# Linq How to select the distinct row count of multiple columns in a datatable
- Select distinct values from a list using LINQ
- How to select the max date from table in c# linq query
- LINQ Select Modified Version From Datatable
- Retrieve distinct values from datatable using linq vb.net
- C# DataTable Linq select distinct values where column equals 'x'
More Query from same tag
- Picking ID's from a file
- Linq select into objects containing collection type variables
- SQLite, Linq, Foreach: how to optimize performances?
- Ask for a linq to manipulate arrays of array
- Linq and .Count big database
- Linq operations against a List of Hashtables?
- Using LINQ and Reflection: How to query for all Classes with [Authorize] Attribute in my Assembly?
- Use Linq to move item to bottom of list
- Entity Framework LINQ many to many query
- Get a list from a dynamic json result
- How to get the newly created object inside the .Select() in a LINQ Query
- c# Group and then Sort list of tuple <T1,T2,T3>
- How to check if all list items have the same value and return it, or return an “otherValue” if they don’t?
- How do I do a group my select by a fixed number using Linq to objects?
- Parse XML (Array with Index) to List<Object>
- C# - Convert Implict Type to ObservableCollection
- How to load varbinary(max) fields only when necessary with ADO.NET Entity Framework?
- Linq-to-Sql: recursively get children
- Is there a way to turn this small method into a lambda or linq statement?
- LINQ Grouping by
- LINQ To objects: Quicker ideas?
- How can I access all values from a specific column in tables using linq and Entity Framework?
- C# EF List from two classes
- Best way to extract rows from DataTable (based on date field) and copy to another DataTable
- Changing a piece of code into expressions
- Linq multiple left outer joins with grouping
- Best way of constructing dynamic sql queries in C#/.NET3.5?
- How to perform an update using Linq or Lambda?(C#, Asp.net,Linq , Lambda)
- How to use XML and LINQ
- How to search in the whole linqdatasource while there's a control parameter