The text of this article is not in this database — only its details are. Read it on the old site: MaskedTextBox In C#
18 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: MaskedTextBox In C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Eduardo FernandezPosted Aug 17, 2020, 7:44 PM
How do you control is the date value is correct?. I downloaded the zip file, run it, and I can enter any numeric values into the date field, and the program did not detect it. Examples: 45/52/2020. Thanks...
Rade MikinPosted Nov 30, 2018, 1:10 AM
How to limit input to C # 6.0 in textBox.text only positive and negative integers and decimal numbers and not allow the input of letters or special characters, as in the case 0.12 / -0.121,12 / -1.12 123.45 / -123.45 123,456.78 / -123,456.78 1,234,567,890.12 / - 1,234,567,890.12 1 / -1 123 / -123 123,456,789.12 / -123,456,789.12
Rade MikinPosted Nov 30, 2018, 1:09 AM
How to limit input to C # 6.0 in textBox.text only positive and negative integers and decimal numbers and not allow the input of letters or special characters, as in the case
Lijo JosePosted Sep 19, 2014, 3:04 AM
how to set focus to a masked texbox... In my case txtMasked.focus() doesn't works..
Jair SouzaPosted Jun 26, 2014, 10:33 AM
Como ocultar a mascara em tempo de execu??o ?
tri lai minhPosted Apr 27, 2013, 8:56 AM
thank you!
jackson kumarPosted Apr 6, 2013, 2:16 AM
Thanks Sir
jackson kumarPosted Apr 6, 2013, 2:15 AM
Thanks Sir
jackson kumarPosted Apr 6, 2013, 2:15 AM
Thanks Sir
jackson kumarPosted Apr 6, 2013, 2:15 AM
Thanks Sir
jackson kumarPosted Apr 6, 2013, 2:15 AM
Thanks Sir
jackson kumarPosted Apr 6, 2013, 2:15 AM
Thanks Sir
jackson kumarPosted Apr 6, 2013, 2:15 AM
Thanks Sir
jackson kumarPosted Apr 6, 2013, 2:15 AM
Thanks Sir
Ravi KumarPosted Feb 27, 2012, 6:28 AM
How we can set the value of 1 to 64 interger value in the maskedtextbox? Means user can only enter the 1 to 64 interger value in the textbox.
Tania EmmerechtsPosted Dec 6, 2010, 5:33 AM
Hi everybody, I'm using a masked textbox for my Date like this : 01/12/2010 Now the problem is, when the user uses a date with a leading 0, the masked textbox gives this 11/22/010_ So it skipped the leading 0 althought it is correct in my database. This is the code I use to fill the masked textbox : mtbShipDate.Text = Convert.ToString(dataRowData["ShipDate"]); Please can somebody help me? Thanks, Tania
Mayur GujrathiPosted Nov 1, 2010, 4:04 AM
I want to set date format as dd/mm/yyyy how can we do it. when i write maskedtextbox1.text=datetime.now.tostring it is getting format as mm/dd/yyyy