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