下面这段Asp.net代码。 为什么 <%=1+2%> 可以运行,显示3
而在HyperLink 传值后面的 <%=1+1%> 不能显示,还是显示为 <%=1+1%>
<TABLE id= "Table166 " cellSpacing= "0 " cellPadding= "0 " align= "center " border= "0 ">
<TR>
<TD class= "links2 " align= "center ">
<%=1+2%> <asp:HyperLink id= "flexiblebutton " NavigateUrl= "flexible.aspx?planno= <%=1+1%> " runat= "server " > Flexible Spending Update </asp:HyperLink> </FONT> </TD>
</TR>
</TABLE>
------解决方案--------------------------------------------------------
<%=1+2%> <a href= "flexible.aspx?planno= <%=1+1%> "> Flexible Spending Update </a>