1
Answer

Error-No Overload for method ToString takes 1 arguments

Ramco Ramco

Ramco Ramco

1y
808
1

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)