Compiler error-Date Comparison

Hello,
I am getting the below error. Any help on this
I am comparing if current row date is equal to max date (max_date is the variable where max date is stored)

ExtractDataTable.AsEnumerable().Any(Function(x) x(“DATE”).ToString.Equals(max_date).ToString

image

Hi @marina.dutta

Try this
ExtractDataTable.AsEnumerable().Any(Function(x) x(“DATE”).ToString.Equals(max_date))

Thanks @pravallikapaluri

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.