1, <% =%> angle brackets which equals the percent discharge method or a variable, such as:
<div>
<h1>Hello World</h1>
<p><%= ShowHelloWorld() %></p>
</div>
2, <#%%> angle brackets here is the percent bound pound sign data
如:<%# DataBinder.(Container.DataItem, "ClassName") %>
<asp:DataList ID="dl" runat="server">
<ItemTemplate> <%# DataBinder.(Container.DataItem, "ClassName") %>
</ItemTemplate>
</asp:DataList></td>
3, <% @%> angle brackets @ Well numerals: Reference
As in many .aspx page, you can see the following code:
<% @ Page Language = "C #" the CodeFile = "Default.aspx.cs" the Inherits = "_ the Default"%>
4, <%> angle brackets Percent generally intermediate the discharge function or method, typically asp written procedures .
例如:<tr>
<td height="20">
<div align="center">类别:</div>
</td>
<td height="9">
<%function();%>
</td>
</tr>
<% # Is binding expression, it is that you have to use the DataBind () method, using the talents <% #
<% = server information is displayed in the background
Reproduced in: https: //www.cnblogs.com/sofire/archive/2012/03/13/2393894.html