example :my string is textbox1="12,soc,nagpur" then i want in textbox2 only=nagpur
how to do this.sugest me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Oct 30, 2012, 7:34 AM
Sandeep Singh ShekhawatPosted Oct 30, 2012, 2:44 AM
want last value of firts text box
Sudhakar ChaudharyPosted Oct 30, 2012, 2:25 AM
here.
textBox1.text = "12,soc,nagpur";
string value = Textbox1.text;
string[] values = value.Split(',');
textbox1.text = values[2].ToString();