Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
if i type 1 digit number in textbox then it display "00singledigit", and if i type 2 digit number in text box then it display "02digitnumber", finally my out put have only 4 digits like 0009 or 0019 ?

What I have tried:

if i type 1 digit number in textbox then it display "00singledigit", and if i type 2 digit number in text box then it display "02digitnumber", finally my out put have only 4 digits like 0009 or 0019 ?
Posted
Comments
[no name] 3-Sep-18 8:46am    
Then you need to fix your code so it shows what you want.
OriginalGriff 3-Sep-18 10:48am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
Matias Lopez 7-Sep-18 13:20pm    
Sorry, but what attribute did you use to get value? Did you have handleEvents in the TextBox?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900