vijju
May 29th, 2003, 07:21 AM
hi,
iam doing an application for my company.
iam working with a form which takes ordernumber as input and fetches the data.
iam using maskedTextbox for displaying the decimal values.
i set mask format to ###########.##
basically the format is it can take upto 10000000000.00 value.
now i want to display a values like 100.75 in the text box.
but its not able to display these value in the masked format.
also if iam entering the value 210 instead of 210.00 then its taking as 210.(dot).
so if i perofrm any calculations then its giving an error called
"input string is not in correct format"
so what i want to do is the user should able to enter the decimal value and also able to perform calculations and display the value,in the same decimal format.
please some body help me about this, i took so muchtime...
but iam not able to display the values...
please help me...
regards
varma
iam doing an application for my company.
iam working with a form which takes ordernumber as input and fetches the data.
iam using maskedTextbox for displaying the decimal values.
i set mask format to ###########.##
basically the format is it can take upto 10000000000.00 value.
now i want to display a values like 100.75 in the text box.
but its not able to display these value in the masked format.
also if iam entering the value 210 instead of 210.00 then its taking as 210.(dot).
so if i perofrm any calculations then its giving an error called
"input string is not in correct format"
so what i want to do is the user should able to enter the decimal value and also able to perform calculations and display the value,in the same decimal format.
please some body help me about this, i took so muchtime...
but iam not able to display the values...
please help me...
regards
varma