shad0wchaser
Programmer
Hi guys, i have a problem here with my newsletter application
I am trying to make a dynamic page with
Response.write("<html> codes")
and making textarea with loops and giving them ids and names also in loops.
for example
Dim cntL as integer
for cntL = 1 to 10
Response.Write(" <tr>")
Response.Write("<td><img id=imgLvL" & cntL & " src=../nieuwsbrieven2/img/pubnr.bmp border=0 />")
Response.Write("<input name=txtLvL" & cntL & " type=text id=txtLvL" & cntL & " style=height:24px;width:216px; /></td>")
Response.Write(" </tr>")
next
I am trying to declare a textarea generated from that loop with the name lvl1, for example:
Dim lvl1 As String = txtLvL1.Text.Replace(Chr(13), "<br>")
but of course it makes an error with visual basic because txtLvL1 is not declared.
If any of you experts know how to deal with declaring objects that are made with response.write() would be kind to share with me.
Thank you
I am trying to make a dynamic page with
Response.write("<html> codes")
and making textarea with loops and giving them ids and names also in loops.
for example
Dim cntL as integer
for cntL = 1 to 10
Response.Write(" <tr>")
Response.Write("<td><img id=imgLvL" & cntL & " src=../nieuwsbrieven2/img/pubnr.bmp border=0 />")
Response.Write("<input name=txtLvL" & cntL & " type=text id=txtLvL" & cntL & " style=height:24px;width:216px; /></td>")
Response.Write(" </tr>")
next
I am trying to declare a textarea generated from that loop with the name lvl1, for example:
Dim lvl1 As String = txtLvL1.Text.Replace(Chr(13), "<br>")
but of course it makes an error with visual basic because txtLvL1 is not declared.
If any of you experts know how to deal with declaring objects that are made with response.write() would be kind to share with me.
Thank you