<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportFiles.aspx.cs" Inherits="SWTraining.Report.ReportFiles" Title="行政管理-打印报表列表" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link id="linkStyle" runat="server" href="../Themes/Orange/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" CssClass="smallgridview" runat="server" AutoGenerateColumns="False"
            Width="50%" DataKeyNames="FileName">
            <Columns>
                <asp:BoundField DataField="Name" HeaderText="名称" />
                <asp:BoundField DataField="FileName" HeaderText="文件名" />
                <asp:TemplateField HeaderText="编辑">
                    <ItemTemplate>
                        <asp:HyperLink ID="hlkEdit" runat="server" Text="编辑" NavigateUrl='<%# string.Format("EditReport.aspx?fileName={0}",Eval("FileName")) %>'></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
