How to validate valid datetime in c# before submitting to server

<>

This question already has an answer here:

Answers


I think you should parse the DateTime value to a string, after the TryParse and before passing it to the command query object as an argument.

dateTime.ToString("yyyy-MM-ddTHH:mm:ss.fff")

Need Your Help

Hiding Rows Given A Certain Criteria (slow)

jquery performance select html-table hide

I'm trying to hide tr's within a html table if the inputs inside them match a certain criteria.