I have an input form that handles a null date of birth
customer.Dob = DateTime.TryParse(Dob.Text, out dt) ? dt : (DateTime?)null;
Now I want to do the same when populating the form
I load in customer class and populate webform ...
customerDOBtextbox.Text = ????????
How can I check for null date when loading the form? If its null then just don't display anything in the dob textobx