Problem with textbox!

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
So yeah i know its me again!

after searching 2h i decide to ask you for help!

i have 5 textboxes called ns1 ns2 ns3 ns4 ns5

i am trying to write the text from them in a loop

<pre class="prettyprint lang-vb for i = 0 to 5

::::::::::::::::XMLSTUFF::::::::::::::::::

and then

.WriteString(ns1.Text.ToString())[/code]
<br/>
i know i can use something like

<pre class="prettyprint lang-vb dim tbs as integer = 1 or 0

and then

i could say something like this:

for i = 0 to 5

tbs = tbs + 1

:::::::::::::::::::XML STUFF:::::::::::::::::

.WriteString("ns" & tbs & .Text.ToString())[/code]
<br/>
BUT I CANT FIGURE IT OUT PLZ HELP ME OUT!

View the full article
 
Back
Top