Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to input my address in parts in different textboxes(e.g., house No., Area, District, etc.,) but want to store it in a listview item as a single string. How to do it?
Posted

Once you know how to concatenate two strings, the job is (almost) done: Concatenation Operators in Visual Basic[^].
 
Share this answer
 
Comments
Dishi_Gupta 5-Jan-16 3:55am    
For that do i need to initialise each textbox value with different variables and proceed further for string concatenation?
CPallini 5-Jan-16 5:24am    
You just concatenate (into a new string) the Text property of the textboxes.
Dim Single_address as string
Single_address=textBox1.text & textBox2.text 'and so on
 
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