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
Magic Table
Hide Datasheet View Using Docmd.Openquery
Queries with .dbf files working on 2 of 4 computers - Access 2000
Help building a server to host virutal machines
Need to strip out the username from a Domain/username combination
Ordinary users unable to login after server crash
Automation error -2147024769
Why do I get "Database is invalid" Errors
windows vista drivers compbatt.sys missing status 0xc0000098
How do I find a value in an Excel matrix using column and row headers?