<%@ Control Language="C#"  %>

<div class="mod3">
    <div class="title clearfix"> <span class="left"></span> <span class="right"></span>
      
      <span class="fl" style="font-size:14px">新增缺货登记</span>
      </div>
    <div class="content vote">

<table width="100%" border="0" cellspacing="0" cellpadding="3">
    <tr>
    <td width="40%" align="right">
        <asp:Label ID="Label1" runat="server" 
            Text="缺货商品："></asp:Label></td>
        <td>
           <asp:Label ID="LabelProduct" runat="server" 
            Text=""></asp:Label>
        </td>
  </tr>
    <tr>
    <td width="40%" align="right">
        <asp:Label ID="LabelNumber" runat="server" 
            Text="缺货数量："></asp:Label></td>
    <td>
        <asp:TextBox ID="TextBoxNumber" runat="server"></asp:TextBox>
                            <asp:Label ID="Label5" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorNumber" 
                            runat="server" ControlToValidate="TextBoxNumber" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorNumber" 
                        runat="server" ControlToValidate="TextBoxNumber" Display="Dynamic" 
                        ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
        </td>
  </tr>
  <tr>
    <td align="right"><asp:Label ID="LabelName" runat="server" Text="订购人姓名："></asp:Label></td>
    <td>
        <asp:TextBox ID="TextBoxName" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle1" 
                        runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                        ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
      </td>
  </tr>
  <tr>
    <td align="right"><asp:Label ID="LabelEmail" runat="server" Text="订购人Email："></asp:Label></td>
    <td>
        <asp:TextBox ID="TextBoxEmail" runat="server"></asp:TextBox> <asp:Label ID="Label2" runat="server" Text="*"  ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorEmail" 
                            runat="server" ControlToValidate="TextBoxEmail" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle2" 
                        runat="server" ControlToValidate="TextBoxTel" Display="Dynamic" 
                        ErrorMessage="最多100个字符" ValidationExpression="^[\s\S]{0,100}$"></asp:RegularExpressionValidator>
     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ControlToValidate="TextBoxEmail" Display="Dynamic" ErrorMessage="邮箱格式不正确！" 
                            ValidationExpression="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"></asp:RegularExpressionValidator>
      </td>
  </tr>
           
  <tr>
    <td align="right"><asp:Label ID="LabelTel" runat="server" Text="订购人联系电话："></asp:Label></td>
    <td>
        <asp:TextBox ID="TextBoxTel" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTel" 
                        runat="server" ControlToValidate="TextBoxTel" Display="Dynamic" 
                        ErrorMessage="最多20个字符" ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
      </td>
  </tr>
  <tr>
    <td align="right"><asp:Label ID="LabelBookMemo" runat="server" Text="订购说明："></asp:Label></td>
    <td><asp:TextBox ID="TextBoxBookMemo" runat="server" Height="60px" 
                        TextMode="MultiLine" Width="440px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorBookMemo" 
                        runat="server" ControlToValidate="TextBoxBookMemo" Display="Dynamic" 
                        ErrorMessage="最多250个字符" ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator>
</td>
  </tr>
  <tr  >
    <td colspan="2" style=" text-align:center">
    <asp:Button ID="ButtonConfirm" runat="server"  Text="确定" 
            CssClass="Button1"  ToolTip="Submit"  />
                         <input ID="inputReset" runat="server"  type="reset" value="重置" Class="Button1"  /></td>
  </tr>
</table>

     </div>
  </div>
     <asp:HiddenField ID="hiddenGuid" runat="server" Value="0" />