Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone know how to leave the MaskedTexbox use DataBindings?
Message
De
07/04/2011 23:03:38
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Anyone know how to leave the MaskedTexbox use DataBindings?
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01506566
Message ID:
01506566
Vues:
80
HI all,
i use MaskedTexbox and DataBindings, vb.net ...... First , i add the one record, the MaskedTexbox data show now day. After, i
click the MaskedTexbox , and delete the MaskedTexbox data, and entry next control, but in this time, i can't leave the MaskedTexbox ,
hold in this control, but no error msg, how can i do, thx?
Anyone try this case...........

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~~~

my code
MskQuodate.DataBindings.Add("text", QuohdrBindingSource, "Quodate", True, DataSourceUpdateMode.OnPropertyChanged)
And try this method is not ok


 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
Répondre
Fil
Voir

Click here to load this message in the networking platform