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
Very simple avoid using DateTime.MinValue use System.Data.SqlTypes.SqlDateTime.MinValue instead.
System.Data.SqlTypes.SqlDateTime.MinValue