Online Home
string.IsNullOrEmpty(txtDateAction.Text) ? (DateTime?)null : Convert.ToDateTime(txtDateAction.Text),
REFERENCE:- https://stackoverflow.com/questions/22689456/passing-null-value-of-datetime-of-asp-net-control-in-c-sharp
No comments:
Post a Comment