c# - ASP.NET/MVC: Inline code -
what doing wrong? how come <%= %> isn't being interpreted c#?
here's code : 
and here renders (notice firebug display): 
what think going on? mvc newb here. :(
and static site class: 
(if cannot see screenshots on page, view source , use urls <img> tags.)
<%: %> starts .net v4
for pre-v4 it's equivalent <%= html.encode(...) %>
Comments
Post a Comment