I am trying to set a user name to a label,
but not sure if this is the right syntax -
adding following markup generates a parse error
<asp:Label ID="userNameLabel" runat="server"
Text='<%= User.Identity.Name.Split(new char[]{'\\'})[1] %>' />
The main problem here is that, I do not know what <%= %>
or <%# %>
are called, thus cannot Google/Bing.
Can someone point me to a right direction?