Jim,
You could put DateTime.Parse(MyDateString) in a try/catch ...
~~Bonnie
>Hello,
>
> I have a webform that has a date field on it. The date field is optional for the user to enter. I need to know the best way to handle when the date field is left blank. I am getting an error message that says it can't cast from a string to a date.
>
>Can anyone help?
>
>Thanks
>
>Jim