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
Expr field in VFp9.0 report designer
How Can I forward email from a mailbox to a distribution list in exchange 2003 using a forwarder?
SSIS insert primary key - there must be a way
Single quotation in strVariable causes error 2147217900
run a dll as an app keeps appearing when I want to do ANY window operation!
datetime to ISOweek & ISOyear
Convert VBA to VB.Net
Excel macro to update cell information
Vista Backup error message 0x8007002
How do I remove 'group on' in VB code for Access 2007 report?