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

<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 class="tright">
	<li><a href="#">品牌管理</a></li>

</div>

<form id="Form1" name="form" method="post" action="" runat="server">
<div align=center>
   <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound"
            PageSize="15" Width="98%" OnSelectedIndexChanged="GridView1_SelectedIndexChanged1">
            
            <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast"
                NextPageText="下一页" PageButtonCount="15" PreviousPageText="上一页" />
        <Columns>
            <asp:TemplateField HeaderText="选择">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemStyle Width="30px" />
                <HeaderStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:HyperLinkField DataNavigateUrlFields="id,BrandName" DataNavigateUrlFormatString="BrandMagDO.aspx?id={0}&amp;do=Edit&amp;BrandName＝{1}"
                DataTextField="BrandName" HeaderText="品牌名称">
                <HeaderStyle HorizontalAlign="Center" Width="150px" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
            <asp:BoundField DataField="BrandPic" HeaderText="图片">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:HyperLinkField DataNavigateUrlFields="id,BrandName" DataNavigateUrlFormatString="BrandMagDO.aspx?id={0}&amp;do=Edit&amp;BrandName＝{1}"
                HeaderText="修改" Text="修改">
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
            <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="BrandMagDO.aspx?id={0}&amp;do=Del"
                HeaderText="删除" Text="删除">
                <ItemStyle HorizontalAlign="Center" Width="50px" />
            </asp:HyperLinkField>
        </Columns>
       <HeaderStyle CssClass="tright" />
    </asp:GridView>
    <table id="t1" runat="server" border="0" cellpadding="0" cellspacing="0" width="98%">
        <tr>
            <td align="left" style="height: 21px">
                <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" 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>
        </tr>
    </table>
    <asp:Label ID="mslable" runat="server" BackColor="Transparent" Font-Bold="True" ForeColor="Red"
        Text="暂无记录!!" Width="366px" Visible="False"></asp:Label>
        <br />

        </div>
</form>
</body>
</html>
