Click here to Skip to main content
15,911,786 members

Comments by NareshNama (Top 2 by date)

NareshNama 9-Jun-10 7:54am View    
Ofcourse,this one will work.I am using the below code in leave event
txtQuantity.Text = Convert.ToDecimal(txtQuantity.Text).ToString("#,###,###,###,##0.00")
After moving into next text box the format will work and again am trying to remove "." and adding 1 more digit in txtQuantity textbox and if i press tab its showing total 14 digits(extra 1 digit added instead of dot) and 2 digits after decimal.
NareshNama 9-Jun-10 7:44am View    
masked text box is a fixed length.Through this is not possible.
Ex:For 13 digits value,if i enter only 10 digits it will display like
msked text box = 1234567890___.56(in design time)