<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductAttributeSmallEdit.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">
    <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; 
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="LB"
                    Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                &nbsp; &nbsp; 排序:&nbsp;
                <asp:TextBox ID="sort" runat="server"></asp:TextBox>
                &nbsp; &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                    ControlToValidate="sort" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                &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="100%">
        &nbsp;<asp:Panel ID="Panel4" runat="server" Height="50px" Width="100%">
            <table class=page style="width: 450px" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 90px; height: 30px">
                        所属属性或配件:</td>
                    <td colspan="2">
                        <asp:DropDownList ID="attlbbind" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        属性值:</td>
                    <td colspan="2">
                        <asp:TextBox ID="attvalue" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="attvalue"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        操作:</td>
                    <td colspan="2">
                        <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" OnClick="LinkButton2_Click">提交</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn">返回</asp:LinkButton></td>
                </tr>
            </table>
        </asp:Panel><asp:Panel ID="Panel7" runat="server" Height="50px" Width="100%">
            <table class=page style="width: 450px" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 90px; height: 30px">
                        所属属性或配件:</td>
                    <td style="height: 30px" colspan="2">
                        <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True" ForeColor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        属性值:</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox2"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        操作:</td>
                    <td colspan="2" style="height: 27px">
                        <asp:LinkButton ID="LinkButton7" runat="server" CssClass="btn" OnClick="LinkButton7_Click">提交</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton8" runat="server" CssClass="btn" >返回</asp:LinkButton></td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="Panel3" runat="server" Height="50px" Width="100%">
            <table class=page style="width: 450px" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 90px; height: 30px">
                        所属属性或配件:</td>
                    <td colspan="2" style="height: 30px">
                        <asp:DropDownList ID="attlbind2" runat="server">
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        配件名称：</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="attvalue2" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="attvalue2"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        重量：</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="Weight" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Weight"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        配件价格：</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="price" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="price"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="price"
                            Display="Dynamic" ErrorMessage="* 格式错误" ValidationExpression="^[0-9]\d*\.\d*|0\.\d*[1-9]\d*$"></asp:RegularExpressionValidator>
                        <asp:Label ID="Label3" runat="server" ForeColor="DarkGray" Text="格式为:0.00"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        配件库存:</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="Stock" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Stock"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="Stock"
                            Display="Dynamic" ErrorMessage="* 格式错误" ValidationExpression="^[0-9]\d*$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        操作:</td>
                    <td colspan="2" style="height: 27px">
                        <asp:LinkButton ID="LinkButton4" runat="server" CssClass="btn" OnClick="LinkButton4_Click">提交</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton5" runat="server" CssClass="btn">返回</asp:LinkButton></td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="Panel8" runat="server" Height="50px" Width="100%">
            <table class=page style="width: 450px" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 90px; height: 30px">
                        所属属性或配件:</td>
                    <td colspan="2" style="height: 30px">
                        <asp:Label ID="sspj" runat="server" Text="Label" Font-Bold="True" ForeColor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        配件名称：</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBox3"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        重量：</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TextBox4"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        配件价格：</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="TextBox5"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="TextBox5"
                            Display="Dynamic" ErrorMessage="* 格式错误" ValidationExpression="^[0-9]\d*\.\d*|0\.\d*[1-9]\d*$"></asp:RegularExpressionValidator><asp:Label
                                ID="Label6" runat="server" ForeColor="DarkGray" Text="格式为:0.00"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        配件库存:</td>
                    <td colspan="2" style="height: 27px">
                        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TextBox6"
                            Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox6"
                                Display="Dynamic" ErrorMessage="* 格式错误" ValidationExpression="^[0-9]\d*$"></asp:RegularExpressionValidator></td>
                </tr>
                <tr>
                    <td style="width: 90px; height: 27px">
                        操作:</td>
                    <td colspan="2" style="height: 27px">
                        &nbsp;<asp:LinkButton ID="LinkButton9" runat="server" CssClass="btn" OnClick="LinkButton9_Click">提交</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton10" runat="server" CssClass="btn">返回</asp:LinkButton></td>
                </tr>
            </table>
        </asp:Panel><asp:Panel ID="Panel6" runat="server" Height="50px" Width="100%">
            <table align="center" bgcolor="paleturquoise" bordercolor="#0066cc" bordercolordark="#009966"
                cellpadding="0" cellspacing="0" width="98%">
                <tr>
                    <td align="center" colspan="3" rowspan="1">
                        属性配件所属大类: &nbsp;<asp:DropDownList ID="ddllb" runat="server">
                        </asp:DropDownList>
                        &nbsp;名称:&nbsp;
                        <asp:TextBox ID="LBName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="LBName"
                            Display="Dynamic" ErrorMessage="* "></asp:RequiredFieldValidator>类别:&nbsp;
                        <asp:DropDownList ID="ddlsmfl" runat="server">
                            <asp:ListItem Value="1">[--属性--]</asp:ListItem>
                            <asp:ListItem Value="2">[--配件--]</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp; 排序: &nbsp;<asp:TextBox ID="SortEdit" runat="server" Width="47px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="SortEdit"
                            Display="Dynamic" ErrorMessage="* "></asp:RequiredFieldValidator>
                        &nbsp; &nbsp;&nbsp;
                        <asp:LinkButton ID="LinkButton6" runat="server" CssClass="btn" OnClick="LinkButton6_Click">提交</asp:LinkButton></td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="Panel5" runat="server" Height="50px" Width="100%">
            <asp:GridView ID="zileiattribute" 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" HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:HyperLinkField DataNavigateUrlFields="id,SmallAttribute,AttributeFL" DataNavigateUrlFormatString="ProductAttributeSmallEdit.aspx?id={0}&amp;do=Editzilei&amp;SmallAttribute={1}&amp;AttributeFL={2}"
                        DataTextField="attvalue" HeaderText="类别名称">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" Width="150px" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="SmallAttribute" HeaderText="所属类别" >
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="类型">
                        <ItemTemplate>
                            <asp:Label ID="lb" runat="server" Font-Bold="False" ForeColor="Red" Text="Label"></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:HyperLinkField DataNavigateUrlFields="id,SmallAttribute,AttributeFL" DataNavigateUrlFormatString="ProductAttributeSmallEdit.aspx?id={0}&amp;do=Editzilei&amp;SmallAttribute={1}&amp;AttributeFL={2}"
                        HeaderText="修改" Text="修改">
                        <ItemStyle HorizontalAlign="Center" Width="50px" />
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:HyperLinkField>
                    <asp:HyperLinkField DataNavigateUrlFields="id,SmallAttribute" DataNavigateUrlFormatString="ProductAttributeSmallEdit.aspx?id={0}&amp;do=Delzilei&amp;SmallAttribute={1}"
                        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="LinkButton11" runat="server" OnClick="LinkButton11_Click">取消</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton12" runat="server" OnClick="LinkButton12_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="暂无记录!!" Visible="False" Width="366px"></asp:Label></asp:Panel>
    </asp:Panel>
</form>
</body>
</html>