M
Mark
I have a variable of type DateTime. It's captured off a asp.net web form,
and the date field on the form is optional. However, you can't create an
instance of DateTime and assign it a value of null. I realize I could
capture the date as a string from the textbox, and then check to see if the
string is empty and parse when necessary, but this kind of seems like a hack
when there is a DateTime type available.
Suggestions?
Thanks in advance.
Mark
and the date field on the form is optional. However, you can't create an
instance of DateTime and assign it a value of null. I realize I could
capture the date as a string from the textbox, and then check to see if the
string is empty and parse when necessary, but this kind of seems like a hack
when there is a DateTime type available.
Suggestions?
Thanks in advance.
Mark