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
aspx/c# looping through data from within body
WebService: Error adding reference or calling the service in browser
Receiving error code 0x800702e4 when trying to download with InDownloadMngr while in IE 8 with Win7 runing (64 bit) what do I do?
update query in access 2003 possible
Convert UCHAR[] to System::string
File Sharing Lock w/single user
Send/Receive error in Outlook when Sharepoint Discussion Boards/Doc Libraries connected to it
Sub-form Question
Datasheet view and drilldown
Deadly Script?