Setting Textbox to Null for DateTime

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a textbox on a windows form which is bound to a smalldatetime field in
a Dataset. The problem is that sometimes this date should be deleted so that
a null value gets written back to the database. However, if I delete this
date and leave the Textbox the previous entry gets retrieved. Is there a way
to prevent this from happening and leaving the textbox empty so that a null
value gets written back to the database when update is called?
 
Back
Top