How to use ASP.NET <%= tags in server control attributes?

后端 未结 7 1414
陌清茗
陌清茗 2020-11-28 10:15

This works:

\" />

This doesn\'t work:

         


        
相关标签:
7条回答
  • 2020-11-28 11:10

    you can do this

     <asp:Label ID="Label1" runat="server" ><%= variable%></asp:Label>
    
    0 讨论(0)
提交回复
热议问题