关于asp.net“<”变成“<”的有关问题
关于asp.net“”变成“”的问题如题,下面是aspx文件的代码HTML codemeta namekeywords content%kk.G
关于asp.net“<”变成“<”的问题
如题,下面是aspx文件的代码
HTML code<meta name="keywords" content="<%=kk.GetShop().WebKey %>" />
而在页面右键查看源代码则变成下面这样:
HTML code<meta name="keywords" content="@<%=kk.GetShop().WebKey %>" />
何解
[解决办法]<meta name="keywords" content=<%=kk.GetShop().WebKey %> />
<meta name="keywords" content='<%=kk.GetShop().WebKey %>' />
[解决办法]<head id="Head1" runat="server">
有这个吗?
我VS2010测试都没有问题