V
Velislav
hi,
this is a silly question, but it's been on my mind all day and just
quick google search didn't reveal anything so here goes:
what exactly is the difference between <%#
this is a silly question, but it's been on my mind all day and just
quick google search didn't reveal anything so here goes:
what exactly is the difference between <%#
Code:
%> and <% [code] %>?
if i have a method MyMethod() in the code behind, and i say
<%# MyMethod() %> the semi colon is not required (in fact if i add it,
i get a ") expected" exception.
and in the case of <% MyMethod(); %> if the semi-colon is missing, i
get a "; expected" exception.
but what is the formal explanation for this?
thanks