<%@ page language="C#" autoeventwireup="true" inherits="Admin_GoodsManagement_AddGoodsList, ShopWe" %>

<!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 runat="server">
    <title>商品批量添加</title>
    <link href="../css/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../css/admin.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="name">
            <tr>
                <td style="width: 110px">
                    <div class="name_noe">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="center" style="height: 22px">
                                    默认操作</td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <asp:Button ID="UploadList" runat="server" CssClass="butt_tle" Height="22px" Width="100px"
                                        Text="批量添加商品" OnClick="UploadList_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
        <div id="all">
            <table width="100%" cellpadding="0" cellspacing="0" id="bk">
                <thead>
                    <tr>
                        <th style="width: 140px; height: 20px;">
                            名称
                        </th>
                        <th style="width: 110px; height: 20px;">
                            货号
                        </th>
                        <th style="width: 80px; height: 20px;">
                            价格
                        </th>
                        <th style="width: 70px; height: 20px;">
                            库存
                        </th>
                        <th style="width: 130px; height: 20px;">
                            商品图片</th>
                        <th style="width: 140px; height: 20px;">
                            分类
                        </th>
                        <th>
                            品牌
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="RepeaterTable" runat="server" OnItemDataBound="RepeaterTable_ItemDataBound">
                        <ItemTemplate>
                            <tr style="height: 30px;">
                                <td>
                                    <asp:TextBox ID="TextBoxGoodsName" Text='<%# Eval("GoodsName") %>' runat="server"
                                        CssClass="input" Width="130px"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBoxGoodsNumber" Width="90px" Text='<%# Eval("GoodsNumber") %>'
                                        runat="server" CssClass="input"></asp:TextBox></td>
                                <td>
                                    <asp:TextBox ID="TextBoxGoodsPrice" Width="60px" Text='<%# Eval("GoodsPrice") %>'
                                        runat="server" CssClass="input"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBoxGoodsStock" Width="50px" Text='<%# Eval("GoodsStock") %>'
                                        runat="server" CssClass="input"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:FileUpload ID="FileUploadImage" Width="120px" runat="server" />
                                </td>
                                <td>
                                    <asp:DropDownList ID="DropDownListGoodsClass" runat="server" Width="130px">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:DropDownList ID="DropDownListGoodsBrand" runat="server" Width="80px">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
        </div>
    </form>
</body>
</html>
