开发者

ASP.NET Error CS1026: ) expected?

why do I see the CS1026 error:) expected at the line below ?

<%=Html.BeginForm("AddAdvertisement", "Advertisement"){%> //here
     hello
<%开发者_Go百科} %>


I think you want this instead (docs):

<% using(Html.BeginForm("AddAdvertisement", "Advertisement")) { %> //here
     hello
<% } %>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜