<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductInsert.aspx.cs" Inherits="LZBS.Web.Admin.ProductInsert" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:left; line-height:35px;">
        产品名称：&nbsp; <asp:TextBox ID="txtName" runat="server" MaxLength="50"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
            ControlToValidate="txtName" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        产品型号：&nbsp; <asp:TextBox ID="txtVersion" runat="server" MaxLength="50"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txtVersion" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        产品品牌：&nbsp; <asp:TextBox ID="txtBrand" runat="server" MaxLength="20"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txtBrand" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        产品图片：&nbsp; <asp:FileUpload ID="FileUploadImageUrl" runat="server" />
        <br />
        产品大图片：<asp:FileUpload ID="FileUploadBigImage" runat="server" />
        <br />
        产品价格：&nbsp; <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
        /件<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="txtPrice" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtPrice" Display="Dynamic" ErrorMessage="请输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
        <br />
        最少订量：&nbsp; <asp:TextBox ID="txtMOQ" runat="server"></asp:TextBox>
        件<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ControlToValidate="txtMOQ" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtMOQ" Display="Dynamic" ErrorMessage="请输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
        <br />
        产品描述：&nbsp; <asp:TextBox ID="txtDescription" runat="server" Height="170px" 
            TextMode="MultiLine" Width="615px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
            ControlToValidate="txtDescription" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnAdd" runat="server" Text="添  加" onclick="btnAdd_Click" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input id="Reset1" type="reset" value="重  置" style="width:50px; height:20px;" /></div>
    </form>
</body>
</html>
