MVC 经验技巧

 

 1 <% using  (Html.BeginForm( " document " " assets " , new {path=ViewData["Path"]} , FormMethod.Post,  new   { id = "uploadForm", enctype = "multipart/form-data" } ))
 2    %>
 3
 4..
 5
 6<%}
%>
 7 等效
 8 <%= Html.BeginForm() %>
 9 ..
10 <% Html.EndForm() %>

 

你可能感兴趣的:(mvc)