TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
Linq Error
Feb 11 2013 3:51 PM
I get this error for the linq below.
Error: at least one object must implement icomparable
var minDate1 = (from c in DataAccess.VolunteerHistoryDataSet.Tables[0].AsEnumerable()
where c["ServiceDateStart"] != DBNull.Value
orderby c["ServiceID"], c["ServiceDateStart"]
select new
{
Date = Convert.ToDateTime(c["ServiceDateStart"])
}).ToList().Min();
Reply
Answers (
1
)
C# linq to sql connections
C# linq to sql