Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have two text boxes in a form then i want to move value from textbox1 to textbox2 after i entered a value in textbox1 to textbox2 and textbox1 to be clear with a button,thanks you.
Posted
Comments
Sergey Alexandrovich Kryukov 27-Sep-14 1:12am    
1) Why doing so? 2) What have you tried so far?
—SA
Tino Fourie 28-Sep-14 18:50pm    
Great read !! +5 to Matt Gemmell. He summed it up beautifully in 8 min.

Add a button, then implement a method that does the following:

  • textbox2.Text = textbox1.Text
  • textbox1.Text = ""
 
Share this answer
 
textbox2.Text=textbox1.Text
textbox1.Text=Temp
 
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