I don\'t want to validate txtBirthDate so I want to pass DateTime.MinValue in database.
txtBirthDate
DateTime.MinValue
My code:
if (txtBirthDate.Text == st
Although it is an old question, another solution is to use datetime2 for the database column. MSDN Link