Ramco Ramco

Ramco Ramco

  • 419
  • 3.4k
  • 547.9k

Error-No Overload for method ToString takes 1 arguments

Jun 14 2023 6:48 AM

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


Answers (1)