need help with custom control

adshocker

Well-known member
Joined
Jun 30, 2007
Messages
180
Programming Experience
Beginner
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
 

Attachments

  • DateTimeTextBox.zip
    53.4 KB · Views: 31
Last edited by a moderator:
Back
Top