Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use MaskedTextBox set Mask combine DataBindings?
Message
De
01/02/2011 04:38:41
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How to use MaskedTextBox set Mask combine DataBindings?
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01498102
Message ID:
01498102
Vues:
139
HI, ALL...
I find the MaskedTextBox combine DataBindings very serious problem......I set the MaskedTextBox is ##/##/####......
In Main page i use MenuStrip.... In first open the form ,MaskedTextBox is __/__/____ ,ok .... but i enty the number in this and
clear all number, in this time, i want to next control , it can't go to , only hold my cursor in this control
(like use Validating e.Cancel = True but i no use ....), i find combine DataBindings will display this problem ...
how can i do ? After , i close the form , and again open .......the MaskedTextBox change to / / in second time.....
In Form_load
---------------------
MskEffdate.DataBindings.Add("text", QuohdrBindingSource, "effdate", True, DataSourceUpdateMode.OnPropertyChanged)


In Form_closing
----------------------
MskEffdate.DataBindings.Clear()
Répondre
Fil
Voir

Click here to load this message in the networking platform