hi all,
i created a custom control i call DateTimeTextBox. i've added a couple of custom properties listed below.
FormatMask - format mask of the date value.
Value - the actual value of the date. bindable.
the Text property is where the formatted value of the date is shown.
the problem i'm having right now is that whenever i add a new record, the Textbox.Text value remains to whatever it had last.
can someone help me with this?
i've attached a zip of the customcontrol as well as a sample project with an access database for your testing.
thanks
i created a custom control i call DateTimeTextBox. i've added a couple of custom properties listed below.
FormatMask - format mask of the date value.
Value - the actual value of the date. bindable.
the Text property is where the formatted value of the date is shown.
the problem i'm having right now is that whenever i add a new record, the Textbox.Text value remains to whatever it had last.
can someone help me with this?
i've attached a zip of the customcontrol as well as a sample project with an access database for your testing.
thanks
Attachments
Last edited by a moderator: