有什么区别和LT的差异;%%GT;和<%=%GT;在ASP.NET MVC
问题描述:
可能显示的文件:
有什么区别和LT的差异;%%GT;和<%=%GT ;?
C#MVC:什么是℃之间的差异;%#和<% =
我这个很困惑。
如果可能的话,请解释这之间的区别。
Please explain the difference between this if possible..
什么是意义的=呢?
编辑:谢谢你的answers.Please明白,这是很难通过搜索获得任何结果< =%在谷歌和计算器中的搜索栏以及
Thanks for all your answers.Please understand that It was hard to get any results by searching for "<%=" on google and on the search bar in stackoverflow as well.
答
&LT; %%方式&gt;
是一个通用的code座
<% %>
is a generic code block.
&LT;%=前pression%GT;
等同于&LT;%的Response.Write(如pression) ; %方式&gt;