更新时间:2023-02-03 19:48:02
更改您的<%=
(响应.将表达式写到<%#
(数据绑定表达式),看看是否没有帮助.
如果您想了解有关两者之间差异的更多信息以及其他变体,则google是您的朋友.
Change your<%=
(a response.Write expression) to<%#
(a databinding expression), and see if that doesn''t help.
If you want more info on the differences between the two, as well as additional variations, google is your friend.
如果您有这样的脚本标签:
If you have script tags like this:
<%= DateTime.Now %>
而是将它们替换为DataBinding表达式.像这样:
Replace them with DataBinding expressions instead. Like this:
<%# DateTime.Now %>