Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
hi friends i need your help
i have a text box and in that text box i am inserting decimal value which is a currency and i want same value should be convert into a string in second textbox
please give me some hints
Posted
Comments
ZurdoDev 29-Apr-15 8:32am    
That sounds very easy. Where are you stuck?

[Edit] Do you mean you want the number converted to a word?
King Fisher 29-Apr-15 9:06am    
What do you mean convert into to String?
You want to convert numbers into words?
ConnectingKamlesh 29-Apr-15 9:27am    
Do you want to convert "14.50" as "fourteen dollors and fifty cents" ?

You don't need anything: text box content (that is the Text property) is already a string.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-Apr-15 10:34am    
5ed. :-)
—SA
 
Share this answer
 
You don't need to convert data in textbox is already text, simply:
C#
TextBox2.text=TextBox1.Text


Hope it helps!
 
Share this answer
 

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