<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserInfo_Add.aspx.cs" Inherits="UserInfo_Add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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>金燕3.0list</title>
    <link rel="stylesheet" type="text/css" href="../css/list.css" />
    <script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>

<body topmargin="0px" bottommargin="0px" leftmargin="0px" rightmargin="0px" >
  <form id="form1" runat="server">
	<div class="list1">
		<div class="list2">
			<span>用户信息添加</span>
		</div>
		<div style="border:1px solid #FFFFFF">
		<table class="list3" width="100%" height="100%" cellpadding="0" cellspacing="0">
			<tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">用户名：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtUserName" runat="server" Text=""></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="txtUserName" ErrorMessage="请填写用户名！" ToolTip="请填写用户名！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span>密码：</span>
                 </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtPassword" runat="server" Text="" TextMode="Password" class="text_ipt"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="rev" runat="server" 
                        ControlToValidate="txtPassword" ErrorMessage="密码长度不少于6位，密码由数字和英文字母组成！" 
                        ValidationExpression="^[0-9A-Za-z]{6,}$"></asp:RegularExpressionValidator>                           
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">用户类型：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap" style="padding-left: 10px;">
                    <asp:DropDownList ID="ddlUserType" runat="server"  AppendDataBoundItems="true">
                       <asp:ListItem Text="请选择用户类型！" Value="0"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" InitialValue="0" ControlToValidate="ddlUserType" ErrorMessage="请选择用户类型！" ToolTip="请选择用户类型！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" nowrap="nowrap" style="line-height:100px;width:215px">
                    <span>备注：</span>
                 </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtRemark" runat="server" Text="" MaxLength="50" Rows="3" TextMode="MultiLine" style="margin-left:10px;height:80px; width:300px;"></asp:TextBox>       
                 </td>
            </tr>
			<tr>
				<td style="border-right:0px"></td>
                <td class="list5" align="left">
                    <asp:ImageButton ID="btn_Add" runat="server" OnClick="btnAdd_Click" ImageUrl="../images/blue/submit.jpg" style="margin-left:10px"/>
                    <asp:ImageButton ID="btn_Return" runat="server" OnClick="btnReturn_Click" ImageUrl="../images/blue/cancel.jpg" style="margin-left:10px"/>
                </td>
			</tr>
		</table>
		</div>
	</div>
</form>
</body>
</html>