I think my error might be referring to a date format, but I'm not sure. Does anyone know what this error is for?
Argument 'Expression' is not a valid value.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Argument 'Expression' is not a valid value.
Line 507: Dim newRow As DataRow
Line 508: For Each drAllFac In dtAllFac.Rows
Line 509: If CDate(Format(drAllFac("Time_Start"), "h:mm tt")) > CDate(Format(drAllFac("Time_Stop"), "hh:mm tt")) Then