Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Edit Item In Masked Box

Recommended Posts

now i want to update the item in the maskedbox but the problem is the item is static(cannot be edited by the user)i just want to know whether i can edit the item in masked box or not?if can,what can i do to make it can be edit by the user?statement2 = "UPDATE suratarahan SET letterDate = '" & MaskEdBox2.Mask & "'"plz help..

Share this post


Link to post
Share on other sites

Why is your masked textbox static ? Unless you've set its enabled propety to false, why would it not let yuor user edit the values ? Besides, if you want to rip off the value in the maskedtextbox and insert it into your SQL statement, I believe you'd have to do this:

statement2 = "UPDATE suratarahan SET letterDate = '" & MaskEdBox2.Text & "'"

Why are you trying to read the mask property ? Can you be a little more clear about your objective - that'd help in getting a better reply.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.