Here is a good article about them. In short:
Page Directive
<%@ Page Language="C#" %>
Rendering code
<% Response.Write("Hello World!"); %> <%= SayHello("Ahmed") %> <%: DateTime.Now.ToString() %>
Expression syntax
<%$ ConnectionStrings:ConnStrFromWebConfig %> <%$ AppSettings:ValueFromWebConfig %> <%$ Resources:Resource, Arabic %> <%$ RouteValue:year %> <%$ YourExpressionPrefix : Any %>
Data Binding Syntax
<%# Eval("Name") %> <%# Bind("Name") %> <%# XPath ("Name") %>
Comment server
<%-- <asp:Label runat="server" Text="Label"></asp:Label>-- %>
source share