Microsoft
Software
Hardware
Network
Question : LINQ QUERY TO RETURN DISTINCT DATETIME STAMPS
I need a linq query to return a DISTINCT List of DateTimes like this
private List
getList()
{
code.. return distinct datetime values from table
}
The date times would be like this in the database
12/11/2009 16:43:46
12/11/2009 16:43:46
etc
Answer : LINQ QUERY TO RETURN DISTINCT DATETIME STAMPS
rabgn - small typo, it should be:
var DateTimeList =
(
from t in Table1select t.SomeDate).Distinct().ToL
ist();
- missing starting '(' before from keyword
Random Solutions
Duplicate entries in Combo box
windows 2008 terminal servver web access over internet
Convert to Primary Zone to Secondary zone
What are ROLLUP and CUBE commands in SQL Server 2000 ?
Pivot Table Form - Display Null Values as "0" on Data Axis
My App can't find Crystal Decisions DLL after it is moved to another computer.
Hide root node in Menu using xmldatasource
need help! exists subqueries are killing mysql server in production environment
Silverlight UserControl with child UserControls
Create a GUI using C Sharp