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
Disable save a copy in Outlook 2003's Sent folder when sending out emails
server 2003 activation
Dlookup to prevent duplicate entries
Outlook vs mobile sync
SENS service corruption? Susspeced Malware?
Login failed for user 'sa'. (.Net SqlClient Data Provider)
VB code in Ms Access - connection
Enabling & Restricting Remote Desktop Access via GPO
mailto and french accents
Internet Explorer screen goes black - Veeeeery mysterious problem!