<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderPage" runat="server">

   <h3>添加文件</h3>
   <%using (Html.BeginForm("AdminFileCreate", "Admin", FormMethod.Post, new { enctype = "multipart/form-data" }))
     {   
   %>
    <input type="file" name="fileToUpload" size="40" value="浏览" /><br />
    <input type="submit" value="上传" class="button" />
   <%
     } %>
</asp:Content>
