<%@ Page Title="管理文件首页" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MVCBlogo.NET.BO.File>>" %>
<%@ Import Namespace="Spencer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderPage" runat="server">

    
     <h3>管理文件</h3>
    <p>
        <%= Html.ActionLink("新建文件", "AdminFileCreate")%>
    </p>
   <%=Html.GridView<MVCBlogo.NET.BO.File>(Model,new string[]{"filename","mime"},
                                               new GridViewOption()
                                               {
                                                    EditButtonText="浏览",
                                                    EditAction="AdminFileShow",
                                                    DeleteAction ="AdminFileDelete",
                                                    Columns=new string[]{"文件名称","文件类型"}
                                                })
   %>


</asp:Content>
