Ode*_*ded 15
<%%>
简而言之:
<script runat="server">
</script>
Run Code Online (Sandbox Code Playgroud)
任何内部<%
和%>
服务器端代码.
其他变体也是快捷方式:
<%@%>
是一个页面直接的<%=%>
是的缩写 Response.Write
<%:%>
是简称Response.Write
,添加html编码(随.NET 4.0引入)<%#%>
是一个绑定表达式这个页面是对所有这些的一个很好的参考.
<%@ %> - page directives, Register control
<%= %> - for the server code
<%# %> - for the eval kind of function its also for the server code
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3964 次 |
最近记录: |