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
Is there an easy way to tell why a server rebooted unexpectedly?
how to configure SNMP in windows 7
How to set Anonymous access in Reporting Services 2008 & IIS7
How to get a DOS prompt?
MS Access to do select statement with first three characters starting with ABC
How to run code in one database from another database
Proxy server via Group Policy?
copy and paste an array formula?
SQLServer 2005
Exchange server 2003 - can't telnet to port 25 or receive inbound