<%@ page language="C#" autoeventwireup="true" inherits="Admin_Product_Product_Brand, 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="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="center">
                                <div class="DLBoder">
                                    <asp:DataList ID="Brand" runat="server" Width="100%">
                                        <HeaderTemplate>
                                            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr style="height: 25px;">
                                                    <td class="DLBodertd" style="width: 6%;">
                                                        序号
                                                    </td>
                                                    <td class="DLBodertd" style="width: 30%;">
                                                        品牌名称
                                                    </td>
                                                    <td class="DLBodertd" style="width: 36%;">
                                                        品牌图片
                                                    </td>
                                                    <td class="DLBodertd" style="width: 20%;">
                                                        排序 (必填项数字)
                                                    </td>
                                                    <td class="DLBodertd" style="width: 8%;">
                                                        操作
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr style="height: 25px;">
                                                <td class="DLBodertd">
                                                    <asp:Label ID="ID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.id")%>'></asp:Label>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:TextBox ID="pingpainame" Text='<%# DataBinder.Eval(Container, "DataItem.pingpainame") %>'
                                                        Width="150px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:TextBox Width="150px" ID="pingpaiphoto" Text='<%# DataBinder.Eval(Container, "DataItem.pingpaiphoto") %>'
                                                        runat="server"></asp:TextBox>
                                                    <input id="Button1" type="button" onclick="window.open('../Upload/ADUpload.aspx?P=<%# (Container).FindControl("pingpaiphoto").ClientID %>','','status=no,scrollbars=no,top=20,left=200,width=420,height=170')"
                                                        style="width: 70px; height: 22px;" value="上传图片" /><%--<asp:FileUpload ID="UploadImages" runat="server" />--%>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:TextBox Width="100px" ID="pingpaiorder" Text='<%# DataBinder.Eval(Container, "DataItem.pingpaiorder") %>'
                                                        runat="server"></asp:TextBox>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:CheckBox ID="CheckBox1" runat="server" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:DataList>
                                    <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td style="text-decoration: none; height: 30px; vertical-align: middle;" align="right">
                                                <asp:Button ID="SaveAll" runat="server" Text="保存全部" Height="22px" Width="70px" OnClick="SaveAll_Click" />
                                                <asp:Button ID="DeleteSelect" Height="22px" Width="70px" runat="server" Text="删除选中"
                                                    OnClick="DeleteSelect_Click" />
                                                &nbsp;&nbsp;&nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <div style="height: 30px;">
                                </div>
                                <div >
                                    <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#d5eaff">
                                        <tr class="table" style="height: 25px;">
                                            <td class="state" style="width: 6%;">
                                            </td>
                                            <td class="state" style="width: 30%;">
                                                品牌名称
                                            </td>
                                            <td class="state" style="width: 36%;">
                                                品牌图片
                                            </td>
                                            <td class="state" style="width: 20%;">
                                                排序 (必填项数字)
                                            </td>
                                            <td class="state" style="width: 8%;">
                                                操作
                                            </td>
                                        </tr>
                                        <tr class="table" style="height: 25px;">
                                            <td class="state" style="height: 27px">
                                                <asp:Label ID="ID" runat="server" Text="添加"></asp:Label>
                                            </td>
                                            <td class="state" style="height: 27px">
                                                <asp:TextBox ID="pingpainame" Text="" Width="150px" runat="server"></asp:TextBox>
                                            </td>
                                            <td class="state" style="height: 27px">
                                                <asp:TextBox Width="150px" ID="pingpaiphoto" Text="" runat="server"></asp:TextBox>
                                                <input id="Button1" type="button" onclick="window.open('../Upload/ADUpload.aspx?P=pingpaiphoto','','status=no,scrollbars=no,top=20,left=200,width=420,height=170')"
                                                    style="width: 70px; height: 20px;" value="上传图片" /><%--<asp:FileUpload ID="UploadImages" runat="server" />--%>
                                            </td>
                                            <td class="state" style="height: 27px">
                                                <asp:TextBox Width="100px" ID="pingpaiorder" Text="0" runat="server"></asp:TextBox>
                                            </td>
                                            <td class="state" style="height: 27px">
                                                <asp:Button ID="Add" runat="server" Height="22px" Width="50px" Text="添加" OnClick="Add_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
