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

<html xmlns="http://www.w3.org/1999/xhtml" >
<head >

    <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><asp:HyperLink ID="title" runat="server"></asp:HyperLink></li>
    

</div>

<form name="form" method="post" action="" runat="server">
    &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:uncheckAll('form')"><span style="color: #0000ff;
        text-decoration: underline"></span></a>
    <asp:Panel ID="Panel1" runat="server" Height="32px" HorizontalAlign="Center" Width="97%">
    <table align="center" cellpadding="0" cellspacing="0" class="page" style="width: 74%">
        <tr>
            <td colspan="3" rowspan="1" style="width: 674px; height: 34px;">
                类别名称:&nbsp;
                <asp:TextBox ID="LB" runat="server" Width="191px"></asp:TextBox>
                &nbsp; &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                    ControlToValidate="LB" Display="Dynamic" ErrorMessage="不能为空!"></asp:RequiredFieldValidator>
                &nbsp; 排序:&nbsp;
                <asp:TextBox ID="sort" runat="server"></asp:TextBox>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn" OnClick="LinkButton1_Click">提交</asp:LinkButton></td>
        </tr>
    </table>
    </asp:Panel><asp:Panel ID="Panel2" runat="server" Height="32px" HorizontalAlign="Center" Width="97%">
        <table align="center" cellpadding="0" cellspacing="0" class="page" style="width: 74%">
            <tr>
                <td colspan="3" rowspan="1" style="width: 674px; height: 34px;">
                    类别名称:&nbsp;
                    <asp:TextBox ID="slb" runat="server" Width="191px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="slb"
                        Display="Dynamic" ErrorMessage="不能为空!"></asp:RequiredFieldValidator>
                    &nbsp;&nbsp; 排序:&nbsp;
                    <asp:TextBox ID="ssort" runat="server"></asp:TextBox>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" OnClick="LinkButton2_Click">提交</asp:LinkButton></td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="Panel3" runat="server" Height="32px" HorizontalAlign="Center" Width="97%">
       <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" DataNavigateUrlFormatString="Caselbedit.aspx?id={0}&amp;do=edit2"
                    DataTextField="SmallCategory" HeaderText="类别名称">
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderStyle HorizontalAlign="Center" Width="150px" />
                </asp:HyperLinkField>
                <asp:BoundField DataField="Sort" HeaderText="排序">
                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="Caselbedit.aspx?id={0}&amp;do=edit2"
                    HeaderText="修改" Text="修改">
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:HyperLinkField>
                <asp:HyperLinkField DataNavigateUrlFields="id,BigCategoryId,SmallCategory" DataNavigateUrlFormatString="Caselbedit.aspx?bigid={1}&amp;id={0}&amp;smlbname={2}&amp;do=chagelb"
                    HeaderText="转移大类" Text="转移大类">
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:HyperLinkField>
                <asp:HyperLinkField DataNavigateUrlFields="id,BigCategoryId" DataNavigateUrlFormatString="Caselbedit.aspx?bigid={1}&amp;id={0}&amp;do=Del2"
                    HeaderText="删除" Text="删除">
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                </asp:HyperLinkField>
            </Columns>
            <HeaderStyle CssClass="tright" />
           <PagerStyle HorizontalAlign="Right" />
        </asp:GridView>
        <table id="t1" runat="server" align="center" 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="LinkButton6" runat="server" OnClick="LinkButton6_Click" >取消</asp:LinkButton>
                    <asp:LinkButton ID="LinkButton7" runat="server" OnClick="LinkButton7_Click" >删除</asp:LinkButton>
                    <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label></td>
            </tr>
        </table>
        <asp:Label ID="mslable" runat="server" BackColor="Transparent" Font-Bold="True" ForeColor="Red"
            Text="暂无记录!!" Width="630px"></asp:Label><br />
        <table align="center"
            cellpadding="0" cellspacing="0" style="width: 95%">
            <tr>
                <td align="center" colspan="3" rowspan="1">
                    类别名称:&nbsp;
                    <asp:TextBox ID="LB2" runat="server" Width="191px"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3" runat="server" ControlToValidate="LB2" Display="Dynamic"
                        ErrorMessage="不能为空!"></asp:RequiredFieldValidator>
                    &nbsp;
                    &nbsp; &nbsp; 排序:<asp:TextBox ID="sort2" runat="server"></asp:TextBox>&nbsp;
            
                    <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn" OnClick="LinkButton3_Click" >添加</asp:LinkButton></td>
            </tr>
        </table>
    </asp:Panel><asp:Panel ID="Panel4" runat="server" Height="32px" HorizontalAlign="Center" Width="97%">
        <table align="center" cellpadding="0" cellspacing="0" class="page" style="width: 74%">
            <tr>
                <td colspan="3" rowspan="1" style="width: 674px; height: 34px;">
                    类别名称:&nbsp;
                    <asp:TextBox ID="lbns" runat="server" Width="191px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="lbns"
                        Display="Dynamic" ErrorMessage="不能为空!"></asp:RequiredFieldValidator>
                    &nbsp;&nbsp; 排序:&nbsp;
                    <asp:TextBox ID="lbsorts" runat="server"></asp:TextBox>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                    <asp:LinkButton ID="LinkButton4" runat="server" CssClass="btn" OnClick="LinkButton4_Click">提交</asp:LinkButton></td>
            </tr>
        </table>
    </asp:Panel>
    &nbsp;&nbsp;&nbsp;
        <asp:Panel ID="Panel5" runat="server" Height="50px" HorizontalAlign="Center" Width="95%">
            当前操作的小类为<asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red" Text="Label"></asp:Label>
            &nbsp; 转移到大类名称: &nbsp;&nbsp;<asp:DropDownList ID="lbddl" runat="server">
            </asp:DropDownList>
            &nbsp;&nbsp;
            <asp:LinkButton ID="LinkButton5" runat="server" CssClass="btn" OnClick="LinkButton5_Click">转移</asp:LinkButton></asp:Panel>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="set">
  <tr>
    <td style="height: 37px">
    </td>
  </tr>
  
</table>
</form>
</body>
</html>