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
Restore a Sharepoint Site from an SQL Database Backup
Create Windows shortcut using VBA with /WrkGrp switch
Exporting .pst file data to SQL Server 2005
Dir vs Dir$
Help building a server to host virutal machines
Queries with .dbf files working on 2 of 4 computers - Access 2000
Video Rental Database
How kill a process launching with a .bat file by ShellExecuteex ?
How to open a database in Exclusive Mode
Can I use DoCmd.CopyObject to copy a form with VBA code from one database to another?