<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DownList.aspx.cs" Inherits="WKadmin_Products_DownList" %>

<!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 href="../../SYSadmin/css/neiye.css" rel="stylesheet" type="text/css" />
    <link href="../../SYSadmin/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="Div1" class="tright"  runat="server">
	<li><a href="#">下载管理</a></li>
</div>
<form id="Form1" name="form" method="post" action="" runat="server">
    <table cellpadding="0" cellspacing="0" width="98%" align="center">
        <tr>
            <td style="width: 100px; height: 27px;">
            </td>
            <td style="width: 100px; height: 27px;">
    <asp:Label ID="mslable" runat="server" BackColor="Transparent" Font-Bold="True" ForeColor="Red"
        Text="暂无记录!!" Width="74px" Visible="False"></asp:Label></td>
            <td align="right">
                <asp:HyperLink ID="HyperLink1" runat="server" CssClass="btn" NavigateUrl="~/sysadmin/Products/DownAdd.aspx">添加</asp:HyperLink></td>
        </tr>
    </table>
    <asp:GridView ID="Productmag" runat="server" AutoGenerateColumns="False" HorizontalAlign="Center"
        Width="98%" AllowPaging="True" Height="1px" OnPageIndexChanging="Productmag_PageIndexChanging" OnRowDataBound="Productmag_RowDataBound" CaptionAlign="Right">
        <Columns>
            <asp:TemplateField HeaderText="选择">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="缩略图">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Image ID="img" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:HyperLinkField DataNavigateUrlFields="id,Products" DataNavigateUrlFormatString="DownEdit.aspx?id={0}&amp;product={1}&amp;do=edit"
                DataTextField="Products" HeaderText="文件名称" />
            <asp:BoundField DataField="filesize" HeaderText="文件大小[bit]" ApplyFormatInEditMode="True" DataFormatString="{0:N}" ConvertEmptyStringToNull="False" HtmlEncode="False" />
            <asp:TemplateField HeaderText="发布">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("ISPublished") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    &nbsp;<asp:LinkButton ID="isfp" runat="server">LinkButton</asp:LinkButton>
                </ItemTemplate>
                <ItemStyle Font-Bold="False" Font-Size="14px" ForeColor="Red" HorizontalAlign="Center" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="语种">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("language") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lbl" runat="server" Text='<%# Bind("language") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:HyperLinkField HeaderText="修改" Text="修改" DataNavigateUrlFields="id,Products" DataNavigateUrlFormatString="DownEdit.aspx?id={0}&amp;product={1}&amp;do=edit" >
                <ItemStyle ForeColor="Red" HorizontalAlign="Center" />
            </asp:HyperLinkField>
            <asp:HyperLinkField HeaderText="删除" Text="删除" DataNavigateUrlFields="id,Products" DataNavigateUrlFormatString="DownEdit.aspx?id={0}&amp;product={1}&amp;do=del" >
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
        </Columns>
        <HeaderStyle CssClass="tright" />
            <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast"
                NextPageText="下一页" PreviousPageText="上一页" />
            <PagerStyle Font-Bold="True" Font-Italic="True" HorizontalAlign="Right" />
    </asp:GridView>
    <table border="0" cellpadding="0" cellspacing="0" width="98%" runat="server" id="t1">
                        <tr>
                            <td style="height: 18px" align="left">
                                <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" Font-Size="9pt" OnCheckedChanged="CheckBox2_CheckedChanged"
                        Text="全选"/>
                                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">取消</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">删除</asp:LinkButton>
                                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></td>
                            <td style="height: 18px" >
                            </td>
                            <td style="height: 18px">
                            </td>
                        </tr>
                    </table>
</form>
</body>
</html>
