VBdotnet2005
asked on
fill textbox
I have data as list of (string), which I pull it from SQL. How can I fill textbox like this?
textbox1 ------------------------
address1
address2
address3
etc...
-------------------------- --------
instead of
textbox1 ------------------------
address1 address2 address3 etc...
-------------------------- --------
textbox1 ------------------------
address1
address2
address3
etc...
--------------------------
instead of
textbox1 ------------------------
address1 address2 address3 etc...
--------------------------
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Like this?
listofmystring is List of (string)
address1
address2
for each tmp_string as listofmystrings
textbox1.text &= tmp_string & "<br>"
next
listofmystring is List of (string)
address1
address2
for each tmp_string as listofmystrings
textbox1.text &= tmp_string & "<br>"
next
ASKER
I got it. Thanks
ASKER