<%@ page language="C#" autoeventwireup="true" inherits="Admin_User_Grade_User, Huibo.Net" enableviewstatemac="false" enableEventValidation="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>查看修改商品</title>
    <link href="../style/StyleSheet.css" type="text/css" rel="stylesheet" />
    <link href="../style/workplace-merge.css" rel="stylesheet" />
    <link href="../style/index-new-merge.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div style="width: 99%; text-align: center;">
            <div class="mod-wp-win">
                <div class="win-head-wrap">
                    <div class="win-head" id="mod-info-center-head">
                        <p>
                            会员级别</p>
                    </div>
                </div>
                <div class="mod-info-center clr">
                    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#6A7F9A">
                        <tr>
                            <td bgcolor="#FFFFFF" align="center">
                                <div class="DLBoder">
                                    <asp:DataList ID="GradeUser" runat="server" Width="100%" OnUpdateCommand="GradeUser_UpdateCommand"
                                        OnDeleteCommand="GradeUser_DeleteCommand">
                                        <HeaderTemplate>
                                            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr style="height: 25px;">
                                                    <td class="DLBodertd" style="width: 35%;">
                                                        级别名称
                                                    </td>
                                                    <td class="DLBodertd" style="width: 30%;">
                                                        所需积分
                                                    </td>
                                                    <td class="DLBodertd" style="width: 15%;">
                                                        级别排序
                                                    </td>
                                                    <td class="DLBodertd" style="width: 20%;">
                                                        操作
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr style="height: 25px;">
                                                <td class="DLBodertd">
                                                    <asp:TextBox ID="grpname" Text='<%# DataBinder.Eval(Container, "DataItem.grpname")%>'
                                                        runat="server"></asp:TextBox>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:TextBox ID="grpscore" Text='<%# DataBinder.Eval(Container, "DataItem.grpscore")%>'
                                                        runat="server"></asp:TextBox>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:TextBox ID="grporder" Text='<%# DataBinder.Eval(Container, "DataItem.grporder")%>'
                                                        Width="50px" runat="server"></asp:TextBox>
                                                    <asp:TextBox ID="price" Text='<%# DataBinder.Eval(Container, "DataItem.price")%>'
                                                        Width="50px" runat="server" Visible="false"></asp:TextBox>
                                                    <asp:TextBox ID="Grade" Text='<%# DataBinder.Eval(Container, "DataItem.Grade")%>'
                                                        Width="50px" runat="server" Visible="false"></asp:TextBox>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:Button ID="Update" runat="server" CommandName="update" Text="更新" Height="22px"
                                                        Width="50px" /><asp:Button ID="Delete" CommandName="Delete" runat="server" Height="22px"
                                                            Width="50px" Text="删除" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:DataList>
                                </div>
                                <div style="height: 30px;">
                                </div>
                                <div class="DLBoder">
                                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                                        <tr style="height: 25px;">
                                            <td class="DLBodertd" style="width: 35%;">
                                                级别名称
                                            </td>
                                            <td class="DLBodertd" style="width: 30%;">
                                                所需积分
                                            </td>
                                            <td class="DLBodertd" style="width: 15%;">
                                                级别排序
                                            </td>
                                            <td class="DLBodertd" style="width: 20%;">
                                                操作
                                            </td>
                                        </tr>
                                        <tr style="height: 25px;">
                                            <td class="DLBodertd" align="center">
                                                <asp:TextBox ID="grpname" runat="server"></asp:TextBox>
                                            </td>
                                            <td class="DLBodertd" align="center">
                                                <asp:TextBox ID="grpscore" Text="0" runat="server"></asp:TextBox>
                                            </td>
                                            <td class="DLBodertd" align="center">
                                                <asp:TextBox ID="grporder" Text="" Width="50px" runat="server"></asp:TextBox>
                                                <asp:TextBox ID="price" Text="" Width="50px" runat="server" Visible="false"></asp:TextBox>
                                                <asp:TextBox ID="Grade" Text="" Width="50px" runat="server" Visible="false"></asp:TextBox>
                                            </td>
                                            <td class="DLBodertd" align="center">
                                                <asp:Button ID="ManageAdd" runat="server" Text="添加" Height="22px" Width="70px" OnClick="ManageAdd_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
