J
Jeremy Ames
The variable could be out of scope. You are trying to access the variable
that is defined in another block. If you create that variable in the code
behind page instead, you should be able to access it.
Can someone tell me what's wrong with using this to create a textbox?
<%
int width=100;
%>
<asp:TextBox runat="server" id="boom" width="<%=width%>"></asp:TextBox>
Thanks,
Temo
that is defined in another block. If you create that variable in the code
behind page instead, you should be able to access it.
Can someone tell me what's wrong with using this to create a textbox?
<%
int width=100;
%>
<asp:TextBox runat="server" id="boom" width="<%=width%>"></asp:TextBox>
Thanks,
Temo