Why Semi column on asp.net mvc aspx engine not required
<%= Html.ValidationMessage("currentPassword") %> doesnt require semicolon but
<% Response.Write(Html.ValidationMessage("currentPassword")); %> requires semicolumn because the former requires an expression rather than a statement.
No comments:
Post a Comment