<%@ page language="C#" autoeventwireup="true" inherits="UploadFile_FileManage, App_Web_y4182_ud" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>passionCMS2</title>
</head>
<body>
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr height="10">
                <td colspan="10">
                </td>
            </tr>
            <tr>
                <td width="1%">
                </td>
                <td>
                    <asp:GridView SkinID="gridviewSkin2" ID="gvFile" AutoGenerateColumns="false" runat="server"
                        OnRowCommand="gvFile_RowCommand" OnRowDataBound="gvFile_RowDataBound">
                        <Columns>
                            <asp:TemplateField HeaderText="名称">
                                <ItemTemplate>
                                    <a href='<%# DataBinder.Eval(Container.DataItem,"Link")%>' target='<%# DataBinder.Eval(Container.DataItem,"target")%>'>
                                        <img runat="server" border="0" src='<%# DataBinder.Eval(Container.DataItem,"img")%>' />
                                        <asp:Label runat="server" ID="Name" Text='<%# DataBinder.Eval(Container.DataItem,"Name")%>'></asp:Label>
                                    </a>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-HorizontalAlign="Right" HeaderText="大小(K)">
                                <HeaderStyle HorizontalAlign="Right" />
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="Size" Text='<%# DataBinder.Eval(Container.DataItem,"Size")%>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="类型">
                                <HeaderStyle HorizontalAlign="Right" />
                                <ItemStyle HorizontalAlign="Right" />
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="Type" Text='<%# DataBinder.Eval(Container.DataItem,"Type")%>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="预览">
                                <HeaderStyle HorizontalAlign="center" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:Literal runat="server" ID="ltView"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="创建日期">
                                <ItemStyle HorizontalAlign="Right" />
                                <HeaderStyle HorizontalAlign="Right" />
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="DateTime" Text='<%# DataBinder.Eval(Container.DataItem,"DateTime")%>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="操作">
                                <HeaderStyle HorizontalAlign="Right" />
                                <ItemStyle HorizontalAlign="Right" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="delBtn" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"FullName")%>'
                                        Text="删除" CommandName="del"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
                <td width="1%">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
