<%@ Control  Language="C#"%>
 
<div class="mod1">
    <div class="title clearfix"> <span class="left"></span> <span class="right"></span>
      <div class="fl">邮件订阅</div>
    </div>
    <div class="content vote">
<table cellpadding="2" cellspacing="0" border="0">
             <tr>
                <td align="right" #LeftMenu>
                    订阅类型：</td>
                <td align="left" #LeftMenu>
                    <asp:DropDownList ID="DropDownListBookTypeName" runat="server">
                    </asp:DropDownList>
                     <asp:Label ID="LabelBookTypeName" runat="server" Text="" ForeColor=Red></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" #LeftMenu>
                    邮箱地址：</td>
                <td align="left" #LeftMenu>
                    <asp:TextBox ID="TextBoxEmailAddress" runat="server" Width="100"></asp:TextBox>
                    <asp:Label ID="LabelEmailAddress" runat="server" Text="" ForeColor=Red></asp:Label>
                          <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmail" 
                            runat="server" ControlToValidate="TextBoxEmailAddress" Display="Dynamic" 
                            ErrorMessage="只能输入100个字符" 
                            
                            ValidationExpression="^[\s\S]{0,100}$"></asp:RegularExpressionValidator>       
       <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmailAccout" runat="server" 
                            ControlToValidate="TextBoxEmailAddress" 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="left" colspan="2">
                     <div style="padding-left:10px;margin-bottom:4px">
        <asp:Button ID="ButtonConfirm" runat="server"  Text="订阅" 
            Width="50px" ToolTip="Submit" class="bnt_number2" CausesValidation="False" />
                         &nbsp;
        <asp:Button ID="ButtonCancelBook" runat="server"  Text="退订" 
            Width="50px" CausesValidation="False" ToolTip="Submit"  class="bnt_number2"/>
                         </div>
                </td>  
            </tr>
            </table>    </div>
  </div>
