how to concatinate multiple strings

Posted by Suneel161 under Regular Expressions on 6/16/2010 | Views : 1378 | Status : [Member] | Replies : 1
hi

i have 1 textbox and one button,if insert value into database and that value should store in a variable.if i repeat this process for next value then this value also store with first variable like [first value:india and second value:usa both the values should store with same variable(india,usa) ]




Responses

Posted by: Syedshakeer on: 6/16/2010 [Member] Starter

Up
0
Down
Hi,
String value=String.Empty;

Protected Void Button1_Click(Object sender,EventArgs e)
{
String txtvalue=textBox1.Text;
value=value+txtvalue;

}


Syed Shakeer Hussain

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response