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
Visual Studio console application without visible console
Need to strip string / email from message body, with Outlook XP VBA?
what are the prerequisites to install hyper v on a server
How do I combine these tables in SQL?
Automate DHCP client computer add/remove via command line on Windows 2003 DHCP Server
Drive letter flash drive
Outlook Group policy PRF automated import / Setup
VB: DataTable structure
TSQL for Insert
Awstats running multiple hosts (error)