来自ASP.NET中asp:Image标记的ImageUrl属性中“〜”的含义

我正在使用ASP.NET Web App,遇到了这样的asp图像标记:

<asp:Image runat="server" ImageUrl="~/images/info-icon.gif"  />

ImageUrl属性中的~符号有什么用途?它仅与ASP.NET有关吗?

footballfl1987 回答:来自ASP.NET中asp:Image标记的ImageUrl属性中“〜”的含义

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3149982.html

大家都在问