Hi
I have below code but ut is giving above error
var LastSessionDate = (from t in context.View_Details where t.IsActive == true && t.GroupID == colum.GroupID select t.SessionDate).FirstOrDefault(); SessionDt = SessionDt + LastSessionDate.ToString("dd-MM-yyyy") + " ," ;
Thanks