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
Dr.Ajay Kashyap
NA
521
284.3k
Getting error in LINQ
Nov 25 2016 1:20 AM
LINQ to Entities does not recognize the method 'System.DateTime ToDateTime(System.String)' method, and this method cannot be translated into a store expression.
IN This Line :-
Events = db.Events.Where(a => (a.Active == true) && (a.IsDelete == false && a.IsRejected == false && Convert.ToDateTime(a.EventEndDate) > DateTime.Now)).ToList();
Reply
Answers (
2
)
How to open excel doc in aspx page?
How to call action method using ajax in mvc5