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();


Midhun TpRank #388 · 6.5K reputationPosted Nov 24, 2016, 8:30 PM EST
Dr.Ajay KashyapRank #2,900 · 496 reputationPosted Nov 24, 2016, 9:21 PM EST
Midhu T P Sir.... thank you so much