<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TaksCategory.aspx.cs" Inherits="TaksCategory" %>
<html  xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link href="../css/neiye.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <title>Untitled Page</title>
</head>
<body style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; clip: rect(0px 0px 0px 0px); padding-top: 0px">
    <form id="form" runat="server" action="" method="post"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tw" >
  <tr>
    <td style="height: 6px"><strong>您当前操作： </strong>
        <asp:LinkButton ID="N0" runat="server" ForeColor="Black" OnClick="N0_Click" Font-Bold="True">类别管理</asp:LinkButton>
        &nbsp;<asp:LinkButton ID="N1" runat="server" OnClick="N1_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N2" runat="server" OnClick="N2_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N3" runat="server" OnClick="N3_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N4" runat="server" OnClick="N4_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N5" runat="server" OnClick="N5_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>&nbsp;&nbsp;
        &nbsp; &nbsp;
        <asp:LinkButton ID="LinkButton7" runat="server" OnClick="LinkButton7_Click">[增加类别]</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
    </td>
  </tr>
</table>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:Panel ID="AddCategoryPanel" runat="server" Height="82px" HorizontalAlign="Center"
            Visible="False" Width="100%" CssClass="editbox">
            <br />
            <table border="0" cellpadding="1" cellspacing="0" style="width: 501px; background-color: dimgray">
                <tr>
                    <td style="height: 16px; width: 500px;" align="center">
                        <table style="background-color: gainsboro" width="100%">
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                </td>
                                <td style="width: 320px; height: 25px">
                                    <strong>增加类别</strong></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                    排序 &nbsp; &nbsp;</td>
                                <td style="width: 320px; height: 25px">
                                    <asp:TextBox ID="Sort" runat="server" Width="43px">0</asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px;">
                                    &nbsp;类别名称</td>
                                <td style="width: 320px; height: 25px;">
                                    <asp:TextBox ID="Category" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 4px">
                                    缩略图</td>
                                <td style="width: 320px; height: 4px">
                                    <asp:FileUpload ID="FileUpload2" runat="server" /></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 63px;">
                                    类别说明</td>
                                <td style="width: 320px; height: 63px;">
                                    <asp:TextBox ID="Info" runat="server" Height="59px" TextMode="MultiLine" Width="317px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                    最低标价</td>
                                <td style="width: 320px; height: 25px">
                                    &nbsp;<asp:TextBox ID="MinMoney" runat="server" Width="73px">500</asp:TextBox>
                                    <asp:LinkButton ID="AddCategoryKey" runat="server" CssClass="btn" Height="20px" OnClick="AddCategoryKey_Click"
                                        Width="102px">确定增加</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton6" runat="server" CssClass="btn" OnClick="LinkButton6_Click1">返回</asp:LinkButton></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            &nbsp;</asp:Panel>
        <asp:Panel ID="Panel2" runat="server" Height="82px" HorizontalAlign="Center"
            Visible="False" Width="100%" CssClass="editbox">
            <br />
            <table border="0" cellpadding="1" cellspacing="0" style="width: 501px; background-color: dimgray">
                <tr>
                    <td style="height: 16px; width: 500px;" align="center">
                        <table style="background-color: gainsboro" width="100%">
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                </td>
                                <td style="width: 320px; height: 25px">
                                    <strong>修改类别 &nbsp; </strong>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                    排序 &nbsp; &nbsp;</td>
                                <td style="width: 320px; height: 25px">
                                    <asp:TextBox ID="ESort" runat="server" Width="43px">0</asp:TextBox>
                                    <asp:TextBox ID="EID" runat="server" Visible="False" Width="43px">0</asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px;">
                                    &nbsp;类别名称</td>
                                <td style="width: 320px; height: 25px;">
                                    <asp:TextBox ID="Ecategory" runat="server"></asp:TextBox>
        <asp:Button ID="Button2" runat="server" Text="移动组" Visible="False" OnClick="Button2_Click" /></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 24px">
                                    缩略图</td>
                                <td style="width: 320px; height: 24px">
                                    <asp:FileUpload ID="FileUpload1" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 7px">
                                </td>
                                <td style="width: 320px; height: 7px">
                                    <asp:Label ID="EPIC" runat="server"></asp:Label>
                                    <asp:CheckBox ID="DELPIC" runat="server" Text="删除当前图片" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 63px;">
                                    类别说明</td>
                                <td style="width: 320px; height: 63px;">
                                    <asp:TextBox ID="EInfo" runat="server" Height="59px" TextMode="MultiLine" Width="317px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                    最低标价</td>
                                <td style="width: 320px; height: 25px">
                                    &nbsp;<asp:TextBox ID="EMinMoney" runat="server" Width="79px">500</asp:TextBox>
                                    <asp:LinkButton ID="EditCategoryKey" runat="server" CssClass="btn" Height="20px"
                                        OnClick="EditCategoryKey_Click" Width="102px">确定修改</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton9" runat="server" CssClass="btn" OnClick="LinkButton6_Click1">返回</asp:LinkButton></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            &nbsp;</asp:Panel>
        <asp:Panel ID="Panel1" runat="server" Height="50px" HorizontalAlign="Center" Visible="False"
            Width="100%">
            <br />
            请选择要移入的目标组
            <asp:DropDownList ID="DDL1" runat="server" AutoPostBack="True" CssClass="input1"
                OnSelectedIndexChanged="DDL1_SelectedIndexChanged">
            </asp:DropDownList><asp:DropDownList ID="DDL2" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL2_SelectedIndexChanged" Visible="False">
            </asp:DropDownList><asp:DropDownList ID="DDL3" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL3_SelectedIndexChanged" Visible="False">
            </asp:DropDownList><asp:DropDownList ID="DDL4" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL4_SelectedIndexChanged" Visible="False">
            </asp:DropDownList><asp:DropDownList ID="DDL5" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL5_SelectedIndexChanged" Visible="False">
            </asp:DropDownList>
            <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn" OnClick="LinkButton3_Click">确定转移</asp:LinkButton>
            <asp:LinkButton ID="LinkButton5" runat="server" CssClass="btn">增加类别</asp:LinkButton>
            <asp:LinkButton ID="LinkButton4" runat="server" CssClass="btn" OnClick="LinkButton4_Click">返回</asp:LinkButton><br />
        </asp:Panel>
        <asp:Panel ID="Panel3" runat="server" Height="50px" HorizontalAlign="Center" Visible="False"
            Width="100%">
            <br />
            <asp:TextBox ID="DelID" runat="server" Visible="False" Width="31px"></asp:TextBox>你真的要删除
            <asp:Label ID="Label1" runat="server" ForeColor="#C00000" Text="Label"></asp:Label>
            吗？<asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn" OnClick="LinkButton1_Click">删除</asp:LinkButton>
            <asp:Label ID="DELMessage" runat="server" ForeColor="Red"></asp:Label>
            <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" OnClick="LinkButton2_Click">不删除并返回</asp:LinkButton></asp:Panel>
        <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" HorizontalAlign="Center" OnSelectedIndexChanging="GridView1_SelectedIndexChanging" OnRowEditing="GridView1_RowEditing" OnRowCreated="GridView1_RowCreated" OnRowDeleting="GridView1_RowDeleting">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="id">
                    <ItemStyle ForeColor="Silver" HorizontalAlign="Center" Width="32px" />
                    <HeaderStyle Width="0px" />
                </asp:BoundField>
                <asp:BoundField DataField="sort" HeaderText="排序">
                    <ItemStyle HorizontalAlign="Center" Width="32px" />
                    <HeaderStyle BorderColor="White" ForeColor="White" Height="32px" />
                </asp:BoundField>
                <asp:TemplateField>
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemStyle Width="30px" />
                    <ItemTemplate>
                        <asp:Image ID="Image1" runat="server" Height="38px" ImageUrl='<%# ReadPICURL(Eval("pic").ToString()) %>'
                            Width="46px" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="category" HeaderText="组名称">
                    <ItemStyle BorderColor="#C0FFFF" HorizontalAlign="Center" Width="150px" />
                    <HeaderStyle BorderColor="White" ForeColor="White" />
                </asp:BoundField>
                <asp:BoundField DataField="snum" HeaderText="子类数">
                    <ItemStyle HorizontalAlign="Center" Width="64px" />
                    <HeaderStyle ForeColor="White" HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="minmoney" HeaderText="最少金额">
                    <ItemStyle HorizontalAlign="Center" Width="90px" />
                    <HeaderStyle ForeColor="White" />
                </asp:BoundField>
                <asp:BoundField DataField="info" HeaderText="说明">
                    <HeaderStyle ForeColor="White" />
                </asp:BoundField>
                <asp:CommandField ShowSelectButton="True" ButtonType="Button" ShowHeader="True" >
                    <ItemStyle Width="30px" />
                </asp:CommandField>
                <asp:CommandField ButtonType="Button" InsertVisible="False" ShowCancelButton="False"
                    ShowEditButton="True">
                    <HeaderStyle Width="30px" />
                    <ItemStyle Width="30px" />
                </asp:CommandField>
                <asp:CommandField ButtonType="Button" ShowDeleteButton="True">
                    <ItemStyle Width="30px" />
                </asp:CommandField>
            </Columns>
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
            <PagerTemplate>
                数据
            </PagerTemplate>
        </asp:GridView>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp;&nbsp;
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="set">
  <tr>
    <td style="height: 41px">&nbsp;<asp:Label ID="Message" runat="server" Width="427px" ForeColor="Red"></asp:Label></td>
  </tr>
</table>
</form>
</body>
</html>
