<%@ page language="C#" masterpagefile="~/Admin/MasterPage/Main.master" autoeventwireup="true" inherits="admin_Product_BrandList, App_Web_u1mfhyty" title="无标题页" %>
<%@ Register Src="~/Admin/Controls/CurrTool_Panel.ascx" TagName="CurrTool" TagPrefix="html" %>
<%@ Register Src="~/Admin/Controls/CurrImage_Panel.ascx" TagName="CurrImage" TagPrefix="html" %>
<%@ Register TagName="FenYe" TagPrefix="Uc1" Src="~/ascx/fenYe.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
  <link rel="stylesheet" type="text/css" href="../../css/fenye.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div class="divTools">
    <div class="tool-nav">
      <div class="title"> 导航栏</div>
      <asp:HyperLink ID="hy_add" Text="[添加商品类别参数]" runat="server"/>
      <asp:HyperLink ID="hy_list" Text="[商品类别参数列表]" runat="server"/>
    </div>
    <div class="clear"> </div>
    <html:CurrTool ID="CurrTool1" Title="商品参数管理" Version="120402" runat="server"/>
    <html:CurrImage ID="CurrImage1" Title="商品参数信息" 
            Tips="在这里您可以新增或修改商品参数信息...." runat="server" />
    <div class="clear"> </div>
    <div class="tool-search">
      <div class="title"></div>
      <div class="search-content" >
        <div> 搜索字：
          <asp:DropDownList runat="server" ID="DropProId" DataTextField="oneTitle" DataValueField="Uid"></asp:DropDownList>
          <asp:TextBox ID="Seach_Name" runat="server"></asp:TextBox>
          <asp:Button ID="seach" runat="server" Text="搜 索" onclick="seach_Click" CssClass="button" />
        </div>
      </div>
    </div>
    <div class="hr"> </div>
  </div>
  <div class="divContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
      <ContentTemplate>
        <div class="divth" style="margin-bottom:10px;">
            <asp:Button ID="BtnInsert" Text="新 增" runat="server" CssClass="button" OnClick="BtnInsert_Click" />
            <asp:Button ID="BtnEdit" Text="修 改" runat="server" CssClass="button" OnClick="BtnEdit_Click" />
            <asp:Button ID="BtnDelete" Text="删除选中项" runat="server" CssClass="button" OnClick="BtnDelete_Click" />
          	<asp:Button ID="btnAll" Text=" 全 选 " runat="server" CssClass="button" OnClick="BtnAll_Click" />
          	<asp:Button ID="btnInverse" Text=" 反 选 " runat="server" CssClass="button" OnClick="btnInverse_Click" />
        </div> 
        <asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" CssClass="content-table"
                    CellPadding="0" GridLines="None" Width="100%" OnSelectedIndexChanged="DataGrid1_SelectedIndexChanged">
          <SelectedItemStyle CssClass="linkDown" />
          <ItemStyle CssClass="BotDas" />
          <Columns>
          <asp:TemplateColumn HeaderText=" 选中 " ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="40px">
            <ItemTemplate>
              <asp:CheckBox runat="server" ID="ChkSelect" />
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="选择">
            <ItemTemplate>
              <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Select" CausesValidation="False" Text="选择"></asp:LinkButton>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:BoundColumn DataField="BName" HeaderText="参数名称" />
          <asp:BoundColumn DataField="Bvalue" HeaderText="参数值" />
          <asp:BoundColumn DataField="oneTitle" HeaderText="类别" />
          <asp:BoundColumn DataField="attType" HeaderText="显示类型" />
          <asp:BoundColumn DataField="isShow" HeaderText="是否显示" />
          <asp:BoundColumn DataField="AddTime" HeaderText="添加时间" />
          <asp:TemplateColumn HeaderText="变量" ItemStyle-Width="2px" HeaderStyle-Width="2px" Visible="false">
            <ItemTemplate>
              <asp:Literal runat="server" Visible="false" ID="Uid" Text='<%#DataBinder.Eval(Container.DataItem,"Uid") %>'></asp:Literal>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText=" " ItemStyle-Width="2px">
            <ItemTemplate> &nbsp; </ItemTemplate>
          </asp:TemplateColumn>
          </Columns>
          <HeaderStyle CssClass="tableTitle" />
        </asp:DataGrid>
        <div class="divth"><Uc1:FenYe runat="server" ID="FenYe1" /></div>
      </ContentTemplate>
    </asp:UpdatePanel>
  </div>
</asp:Content>
