<%@ Page Language="C#" AutoEventWireup="true" CodeFile="YongHuXinXi_add.aspx.cs" Inherits="Fyp_3TierCommon.Web.YongHuXinXi_add" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<!--
'' ============================================================================================
'' 项目名称：风越项目范例ASPX普通三层结构
'' 项目版本：V1.0
'' 项目描述：风越项目范例，用于建立ASPX普通三层结构
'' 文件名称：YongHuXinXi_add.aspx
'' 文件描述：信息增改文件 （用户信息）
'' 公司名称：中极网盛
'' 开发人员：刘怒
'' 创建日期：2008-12-25 20:23:50
'' 修订日期：2009-03-10 06:08:22
'' 版权信息：Copyright (C) 2008

'' 项目升级时需读取以下生成工具的版权信息
'' 生成工具：风越代码生成器 [FireCode Creator]
'' 当前版本：通用版 V1.8
'' 官方网站：http://www.sino8848.com
'' ============================================================================================
-->

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>信息输入与修改</title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="js/js_page.js"></script>
    <script language="javascript" type="text/javascript" src="js/js_string.js"></script>
    <script language="javascript" type="text/javascript" src="js/js_regex.js"></script>

    <script language="javascript" type="text/javascript" src="js/datepicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">

<asp:ValidationSummary ID="ValidationSummary_Input" runat="server" ShowMessageBox="True" ShowSummary="False"  ValidationGroup="input"/>

<table id="tabInput" width="100%" border="1" cellpadding="4" cellspacing="1" class="tableStyleSolidLine" style="margin-left:auto;margin-right:auto;">



<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_NAME" runat="server" Text="姓名 *"></asp:Label>



    <asp:RequiredFieldValidator ID="checkEmpty__USER_NAME" runat="server" ControlToValidate="USER_NAME" ErrorMessage="[姓名] 不允许为空值" SetFocusOnError="True" ValidationGroup="input">*</asp:RequiredFieldValidator>



    <asp:RegularExpressionValidator ID="checkLen__USER_NAME" runat="server" ControlToValidate="USER_NAME" ErrorMessage="所输入 [姓名]" ValidationExpression="^[\s\S]{1,200}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>


</td>

<td class="tableContent001">


<asp:TextBox ID="USER_NAME" runat="server" CssClass="textBox" Width="99%" MaxLength="200" Rows="10"></asp:TextBox>
























</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_PWD" runat="server" Text="密码 "></asp:Label>





    <asp:RegularExpressionValidator ID="checkLen__USER_PWD" runat="server" ControlToValidate="USER_PWD" ErrorMessage="所输入 [密码]" ValidationExpression="^[\s\S]{0,50}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>


</td>

<td class="tableContent001">


<asp:TextBox ID="USER_PWD" runat="server" CssClass="textBox" Width="99%" MaxLength="50" Rows="10"></asp:TextBox>
























</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_EMAIL" runat="server" Text="邮箱 "></asp:Label>





    <asp:RegularExpressionValidator ID="checkLen__USER_EMAIL" runat="server" ControlToValidate="USER_EMAIL" ErrorMessage="所输入 [邮箱]" ValidationExpression="^[\s\S]{0,50}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>


</td>

<td class="tableContent001">


<asp:TextBox ID="USER_EMAIL" runat="server" CssClass="textBox" Width="99%" MaxLength="50" Rows="10"></asp:TextBox>
























</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_BIRTHDAY" runat="server" Text="生日 "></asp:Label>





    <asp:RegularExpressionValidator ID="checkLen__USER_BIRTHDAY" runat="server" ControlToValidate="USER_BIRTHDAY" ErrorMessage="所输入 [生日]" ValidationExpression="^[\s\S]{0,23}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>



    <asp:RegularExpressionValidator ID="checkMatch__USER_BIRTHDAY" runat="server" ControlToValidate="USER_BIRTHDAY" ErrorMessage="[生日]：仅日期" ValidationExpression="^(\d{4}[\-]?\d{1,2}[\-]?\d{1,2})$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>
</td>

<td class="tableContent001">










<asp:TextBox ID="USER_BIRTHDAY" runat="server" CssClass="textBox" Width="99%" MaxLength="23" TextMode="SingleLine"></asp:TextBox> 
















</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_PHOTO" runat="server" Text="相片 "></asp:Label>





    <asp:RegularExpressionValidator ID="checkLen__USER_PHOTO" runat="server" ControlToValidate="USER_PHOTO" ErrorMessage="所输入 [相片]" ValidationExpression="^[\s\S]{0,1073741823}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>


</td>

<td class="tableContent001">






















<asp:FileUpload ID="USER_PHOTO" runat="server" CssClass="textBox" Width="99%"></asp:FileUpload>



<asp:Label ID="lab_USER_PHOTO_file" runat="server" Text=" "></asp:Label>
<asp:LinkButton ID="btn_USER_PHOTO_file_del" runat="server" OnCommand="btn_USER_PHOTO_file_del_Command"></asp:LinkButton>


</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_PHOTOS2" runat="server" Text="相片2 "></asp:Label>





    <asp:RegularExpressionValidator ID="checkLen__USER_PHOTOS2" runat="server" ControlToValidate="USER_PHOTOS2" ErrorMessage="所输入 [相片2" ValidationExpression="^[\s\S]{0,2147483647}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>


</td>

<td class="tableContent001">






















<asp:FileUpload ID="USER_PHOTOS2" runat="server" CssClass="textBox" Width="99%"></asp:FileUpload>





<asp:LinkButton ID="btn_USER_PHOTOS2_file" runat="server" OnClick="btn_USER_PHOTOS2_file_Click"></asp:LinkButton>
<asp:LinkButton ID="btn_USER_PHOTOS2_file_del" runat="server" OnClick="btn_USER_PHOTOS2_file_del_Click"></asp:LinkButton>
</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_NATION" runat="server" Text="民族 *"></asp:Label>



    <asp:RequiredFieldValidator ID="checkEmpty__USER_NATION" runat="server" ControlToValidate="USER_NATION" ErrorMessage="[民族] 不允许为空值" SetFocusOnError="True" ValidationGroup="input">*</asp:RequiredFieldValidator>



    <asp:RegularExpressionValidator ID="checkLen__USER_NATION" runat="server" ControlToValidate="USER_NATION" ErrorMessage="所输入 [民族]" ValidationExpression="^[\s\S]{1,10}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>



    <asp:RegularExpressionValidator ID="checkMatch__USER_NATION" runat="server" ControlToValidate="USER_NATION" ErrorMessage="[民族]：仅允许整数" ValidationExpression="^[\d]+$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>
</td>

<td class="tableContent001">




















<asp:DropDownList ID="USER_NATION" runat="server" CssClass="dropDownList"> <asp:ListItem Value="">--请选择--</asp:ListItem> </asp:DropDownList>











</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_COUNTRY" runat="server" Text="国家或地区 "></asp:Label>





    <asp:RegularExpressionValidator ID="checkLen__USER_COUNTRY" runat="server" ControlToValidate="USER_COUNTRY" ErrorMessage="所输入 [国家或" ValidationExpression="^[\s\S]{0,10}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>



    <asp:RegularExpressionValidator ID="checkMatch__USER_COUNTRY" runat="server" ControlToValidate="USER_COUNTRY" ErrorMessage="[国家或地区]：仅允许整数" ValidationExpression="^[\d]+$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>
</td>

<td class="tableContent001">



















<asp:DropDownList ID="USER_COUNTRY" runat="server" CssClass="dropDownList" OnSelectedIndexChanged="USER_COUNTRY_SelectedIndexChanged" AutoPostBack="True"> <asp:ListItem Value="">--请选择--</asp:ListItem> </asp:DropDownList>














</td>
</tr>

    
    

<tr>
<td class="tableTitle1">
<asp:Label ID="lab_USER_PROVINCE" runat="server" Text="省份 "></asp:Label>





    <asp:RegularExpressionValidator ID="checkLen__USER_PROVINCE" runat="server" ControlToValidate="USER_PROVINCE" ErrorMessage="所输入 [省份]" ValidationExpression="^[\s\S]{0,10}$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>



    <asp:RegularExpressionValidator ID="checkMatch__USER_PROVINCE" runat="server" ControlToValidate="USER_PROVINCE" ErrorMessage="[省份]：仅允许整数" ValidationExpression="^[\d]+$" ValidationGroup="input" SetFocusOnError="True">*</asp:RegularExpressionValidator>
</td>

<td class="tableContent001">




















<asp:DropDownList ID="USER_PROVINCE" runat="server" CssClass="dropDownList"> <asp:ListItem Value="">--请选择--</asp:ListItem> </asp:DropDownList>











</td>
</tr>

    
    





<tr>
<td class="tableTitle1"></td>
<td class="tableContent001">
<asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="新增" ValidationGroup="input" CssClass="btn001"/></td>
</tr>
</table>


    </form>
</body>
</html>