Link to home
Start Free TrialLog in
Avatar of VBdotnet2005
VBdotnet2005Flag for United States of America

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...

----------------------------------
ASKER CERTIFIED SOLUTION
Avatar of Jared_S
Jared_S

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of VBdotnet2005

ASKER

I don't need to loop through list of (string)?
Like this?

listofmystring is List of (string)

address1
address2


for each tmp_string as listofmystrings
     textbox1.text &= tmp_string & "<br>"
next
I got it. Thanks