Q
Qwert
Hello,
now I am trying to pass a string as a parameter to a control:
<% Dim strString = "Hello" %>
Text: <input type="TEXT" name="T2" value="<%=strString%>" size="60" >
Here the output is: "Hello",
but when I try it with a control that runs on the server it doesn't work
(runat=server):
<% Dim strString = "Hello" %>
Text: <input type="TEXT" name="T2" value="<%=strString%>" size="60"
runat=server >
Here the output is: "<%=strString%>"
I've tried to put the complete statement into a "Response.Write()" but that
doesn't do the trick either.
Is there a way to give a string as paramter to a control that runs on the
server?
Thanks.
now I am trying to pass a string as a parameter to a control:
<% Dim strString = "Hello" %>
Text: <input type="TEXT" name="T2" value="<%=strString%>" size="60" >
Here the output is: "Hello",
but when I try it with a control that runs on the server it doesn't work
(runat=server):
<% Dim strString = "Hello" %>
Text: <input type="TEXT" name="T2" value="<%=strString%>" size="60"
runat=server >
Here the output is: "<%=strString%>"
I've tried to put the complete statement into a "Response.Write()" but that
doesn't do the trick either.
Is there a way to give a string as paramter to a control that runs on the
server?
Thanks.