Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

in my project form I have 2 buttons and 1 texbox. If I press button1 I'll pass some string values to my textbox and then if I press button2 i'll pass some string values to the same textbox, but my condition is my textbox should have two button string values what i passed while I press 2 buttons.
Posted
Updated 26-Nov-10 6:37am
v2
Comments
JF2015 26-Nov-10 12:37pm    
Edited to improve spelling.

1 solution

If you want to display both the texts together, just do something like textBox1.Text = textBox1.Text + passedValue;
 
Share this answer
 
Comments
sameertm 26-Nov-10 11:42am    
thanks
sameertm 26-Nov-10 11:43am    
textBox1.Text = textBox1.Text + passedValue; but in betwwen the values how shall i pass comma,
iris.frigole 26-Nov-10 11:53am    
how you shall pass comma? you mean textBox1.Text = textBox1.Text & ", " & passedValue.
is this what you are asking????
sameertm 26-Nov-10 11:56am    
thanks alot boss
sameertm 26-Nov-10 11:57am    
can i have ur personel mai id pls if u don mind :P

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