如果您想将非常长的代码行分解为更易读的格式,aspx 页面的语法是什么。
例子:
<asp:Label runat="server" ID="lblTest" CommandName="Sort" CommandArgument="Efficiency" ForeColor="White" Text="<img src='images/bluecell.png' /> = 66 - 100 % <br><img src='images/greencell.png' /> = 33 - 66 % <br> <img src='images/ambercell.png' /> = 0 - 33%"> </asp:Label>
变成类似的东西:
<asp:Label runat="server" ID="lblTest" CommandName="Sort" CommandArgument="Efficiency"
ForeColor="White" Text="<img src='images/bluecell.png' /> = 66 - 100 % <br><img
src='images/greencell.png' /> = 33 - 66 % <br> <img src='images/ambercell.png' /> = 0 - 33%">
</asp:Label>
还是不能分解单个属性的值?