Compiler Error Message: CS1513: } expected

<% if(something)  { %> some html codes

Miss <%}%>

will get Compiler Error Message: CS1513: } expected .

I don't know why the guy commit the code. 

the original code is 

<% if(something)  { %> some html codes

 <%}else{%>

Some different html codes.

<%}%>

vb  is better than c# it on aspx page.


原文地址:https://www.cnblogs.com/lovebanyi/p/2549045.html