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
Sharepoint
cross tab sql query
RDP in Adminpak.msi for Windows Server 2003/XP: How to turn off the connect local resource option
Anyway to get href ID in code-behind?
Error when attaching database after move.
Windows 2008 Server immediately logging off Terminal Services sessions created from .msi / Windows Install Package
Find and open a PDF file with Access 2009
i copied the mddata file from 1 exchange server to another, mounted the mailbox file, but can't see my mail
How do I change the content of the variable is the variable value is a string plus Numbers?
Proper syntax?