Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone know how to leave the MaskedTexbox ?
Message
From
21/03/2011 22:13:04
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01502812
Message ID:
01504446
Views:
34
Thank you for reply me first ...........
But i already try your method , but also can't leave the MaskedTextbox, No error msg.........
In database, dataset i already set the Quodate field allow null value YES...........

Mycode:
MskQuodate.DataBindings.Add("text", QuohdrBindingSource, "Quodate", True, DataSourceUpdateMode.OnPropertyChanged)

  Private Sub MskQuodate_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MskQuodate.Validating
        If (MskQuodate.Text.Substring(0, 3) = "  /") Then

            MskQuodate.Text = ""
        End If
    End Sub
So, i don't know how can i do............ But i search the website, i find the same problem........
http://connect.microsoft.com/VisualStudio/feedback/details/116519/cant-delete-values-in-masked-text-box

But i saw this , i also don't know to do............ Any one can give me idea? thx~~~
Previous
Reply
Map
View

Click here to load this message in the networking platform