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
c# form with microsoft access database and user level security
Hiding the mouse cursor
DateTimePicker to DateTime SQL Server format
Find text in file, and find next lines
How do I change the height of a decorative border box conditionally on the contents of a text box within the box
How do you copy Excel macros from one windows profile to another?
Windows 7 + Visual Basic 2008 + COM libraries
Any quick way to traverse through labels/textbox on a report design page?
Excel slow opening sheet
sql date logic