<%@ page language="C#" autoeventwireup="true" inherits="Admin_GoodsManagement_ReadCsv, 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" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="all">
            <div class="validate">
                <asp:ValidationSummary ID="ValidationSummaryPage" CssClass="val_ys" runat="server"
                    DisplayMode="List" ForeColor="#FF6600" />
                <asp:CompareValidator ID="CompareValidatorGoodsClass" runat="server" ForeColor="OrangeRed"
                    ValueToCompare="请选择商品分类" Operator="NotEqual" ErrorMessage="请选择一个商品分类" ControlToValidate="GoodsClass"
                    Display="None"></asp:CompareValidator>
                <asp:CompareValidator ID="CompareValidatorGoodsBrand" runat="server" ForeColor="OrangeRed"
                    ValueToCompare="请选择商品品牌" Operator="NotEqual" ErrorMessage="请选择一个商品品牌" ControlToValidate="GoodsBrand"
                    Display="None"></asp:CompareValidator>
            </div>
            <div class="come_title">
              <h2>
                    导入商品</h2>
                <div class="title_help">
                    <a href="#">
                        <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
            </div>
            <div class="k_all6">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 120px; height: 36px;">
                            请选择要导入的分类：
                        </td>
                        <td>
                            <asp:DropDownList ID="GoodsClass" runat="server" Width="226" CssClass="input">
                            </asp:DropDownList>
                            <h4><img src="../css/images/help.png" />
                            <span style="color: #999999">请选择商品要导入的分类。</span></h4>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; height: 36px;">
                            请选择要导入的品牌：
                        </td>
                        <td>
                            <asp:DropDownList ID="GoodsBrand" runat="server" Width="226" CssClass="input">
                            </asp:DropDownList>
                            <h4><img src="../css/images/help.png" />
                            <span style="color: #999999">请选择商品要导入的品牌。</span></h4>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; height: 36px;">
                            请选择要导入的类型：
                        </td>
                        <td>
                            <asp:DropDownList ID="CsvType" runat="server" Width="226" CssClass="input">
                                <asp:ListItem Value="ShopWe">ShopWe数据</asp:ListItem>
                                <asp:ListItem Value="Taobao">淘宝数据</asp:ListItem>
                                <asp:ListItem Value="Paipai">拍拍数据</asp:ListItem>
                                <asp:ListItem Value="Ebay">易趣数据</asp:ListItem>
                            </asp:DropDownList>
                            <h4><img src="../css/images/help.png" />
                            <span style="color: #999999">请选择商品要导入的类型。</span></h4>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; height: 36px;">
                            导入CSV文件：
                        </td>
                        <td>
                            <asp:FileUpload ID="FileUploadCsv"  Width="226px" runat="server" /><h4><img src="../css/images/help.png" alt="小提示" />
                            <span style="color: #999999">请选择导入的文件。</span></h4>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="sub">
            <asp:Button ID="Submit" runat="server" Text="导入商品" OnClick="Submit_Click"   Width="70px" CssClass="but_add"/>
        </div>
    </form>
</body>
</html>
