Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use MaskedTextBox set Mask combine DataBindings?
Message
From
01/02/2011 04:38:41
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
How to use MaskedTextBox set Mask combine DataBindings?
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01498102
Message ID:
01498102
Views:
136
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()
Reply
Map
View

Click here to load this message in the networking platform