-
Junior Member
Display leading and trailing zeros
Hi all ,
In my form how could i display zeros whein my focus lost a text box. if there are no enteries in last text box, if enteries there in the text box autoamatically .00 has to appear along with the interger value entered in the text box
-
Re: Display leading and trailing zeros
You need to format the values in the textbox for the purpose on the lost focus event of the control.
-
Junior Member
Re: Display leading and trailing zeros
Even though it is bit a lengthy process the alternate way is
Dim d1 As Decimal = Trim(TextBox1.Text)
Dim d2 As Decimal = "0.00"
Dim d3 As Decimal
d3 = d1 + d2
TextBox1.Text = CStr(d3)
-
Junior Member
Re: Display leading and trailing zeros
what r the isolation levels in sql server2000..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules