Last post Mar 18, 2013 11:45 PM by MetalAsp.Net
Mar 18, 2013 11:41 PM|mrajadinesh|LINK
I have written a logic in vb.net for converting the value entered as string into currency.
1M = 1,000,000,000
1T = 1,000
1H = 100
I have written the logic in textbox_validating property. Now, the need is that i have to restrict the user from entering values other than M,T and H. Also, if M,T and H are already entered, the user shouldn't be allowed to enter it again.
For example, the user shouldn't enter 1MM or 1TT or 1RR.
Kindly do the needful.
Mar 18, 2013 11:45 PM|MetalAsp.Net|LINK
Use a dropdown for the M T or H and a textbox for the number.