<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="webXabara_user_edit" %>

<!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 id="Head1" runat="server">
    <title>会员资料修改</title>
    <link href="../InClude/StyleSheet.css" rel="stylesheet" type="text/css" />    
    <style type="text/css">
    <!--
    body {
	    margin-left: 0px;margin-top: 15px;margin-right: 10px;margin-bottom: 10px;
    }
    -->
    </style>
    <script src="/js/jquery.min.js" type="text/javascript"></script>    
    <script src="/js/all.js" type="text/javascript"></script>
    <script type="text/javascript" src="/InClude/DatePicker/WdatePicker.js"></script>
</head>

<body>
<form id="form1" runat="server">
<div class="divWidth">
    <div class="titleBg">会员资料修改</div>
</div>
<div class="height10px"></div>
<div class="divWidth">
    <table width="100%" class="tableLine">
      <tr>
        <td class="tdTitle">用户名</td>
        <td style="text-align:left;">
            <asp:Literal ID="uID" runat="server"></asp:Literal>
          </td>
      </tr>  
      <tr>
        <td class="tdTitle">消费额度</td>
        <td style="text-align:left;">
            <asp:Label ID="useMoney" runat="server"></asp:Label>
          </td>
      </tr>  
      <tr>
        <td class="tdTitle">级别</td>
        <td style="text-align:left;">
            <asp:RadioButtonList ID="levList" runat="server" RepeatDirection="Horizontal" 
                RepeatColumns="3" CellPadding="0" CellSpacing="0">
            </asp:RadioButtonList>
          </td>
      </tr>
      <tr>
        <td class="tdTitle">
            姓名</td>
        <td style="text-align:left;">
                            <asp:TextBox ID="txtName" 
                                runat="server" CssClass="inputText" Width="100px" 
                        MaxLength="8"></asp:TextBox>
                        <asp:RequiredFieldValidator  SetFocusOnError="True"  ID="RequiredFieldValidator6" runat="server" 
                                        ControlToValidate="txtName" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator  SetFocusOnError="True"  ID="textNameRegularExpressionValidator" 
                                        runat="server" ControlToValidate="txtName" ForeColor="#FF3300"></asp:RegularExpressionValidator></td>
      </tr>
      <tr>
        <td class="tdTitle">
            性别</td>
        <td style="text-align:left;">
                            <asp:RadioButtonList ID="sexList" runat="server" RepeatDirection="Horizontal" 
                                RepeatLayout="Flow">
                                <asp:ListItem>男</asp:ListItem>
                                <asp:ListItem>女</asp:ListItem>
                            </asp:RadioButtonList>
                            &nbsp;<asp:RequiredFieldValidator  SetFocusOnError="True"  
                                ID="RequiredFieldValidator15" runat="server" 
                                        ControlToValidate="sexList" ErrorMessage="请选择性别" 
                                ForeColor="#FF3300"></asp:RequiredFieldValidator>
                        </td>
      </tr>
      <tr>
        <td class="tdTitle">
            生日</td>
        <td style="text-align:left;">
                            <asp:TextBox ID="uBirthday" runat="server" Width="150px" 
            Wrap="False" ToolTip="请选择您的生日" MaxLength="50" CssClass="Wdate" 
                    onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" BackColor="#F5FDFE" 
                    BorderColor="#63C4E0" BorderStyle="Dashed" BorderWidth="1px" 
                    Font-Names="courier new, courier, verdana, monospace" Font-Size="12px" 
                    ForeColor="#004B7D" style="cursor:pointer;"></asp:TextBox>
                <asp:RequiredFieldValidator  SetFocusOnError="True" ForeColor="#ff3300"   
                                ID="RequiredFieldValidator4" runat="server" 
            ControlToValidate="uBirthday" ErrorMessage="*"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator  SetFocusOnError="True" ForeColor="#ff3300"  ID="dateRegExpree" runat="server" 
                    ControlToValidate="uBirthday"></asp:RegularExpressionValidator>
                        </td>
      </tr>
      <tr>
        <td class="tdTitle">所在地区</td>
        <td style="text-align:left;">
                            <asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="True" RenderMode="Inline" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:DropDownList ID="ProvinceList" runat="server" 
                        onselectedindexchanged="ProvinceList_SelectedIndexChanged" AutoPostBack="true" 
                            CssClass="inputText">
                                    </asp:DropDownList> 
                        <asp:DropDownList ID="CityList" 
                        runat="server" CssClass="inputText" 
                            onselectedindexchanged="cityList_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
                        <asp:DropDownList ID="areaList" 
                        runat="server" CssClass="inputText"></asp:DropDownList>
                    </ContentTemplate>
                    </asp:UpdatePanel>                    
                    <asp:RequiredFieldValidator  SetFocusOnError="True"  ID="RequiredFieldValidator7" runat="server" 
                        ControlToValidate="areaList" ErrorMessage="请选择区域" ForeColor="#FF3300"></asp:RequiredFieldValidator></td>
      </tr>
      <tr>
        <td class="tdTitle">地址</td>
        <td style="text-align:left;">
                            <asp:TextBox ID="uAdd" 
                                runat="server" CssClass="inputText" Width="400px" 
                        MaxLength="255"></asp:TextBox>
                            <br />
                            注：地址不要重复写上所在地区，这样导致地图定位不准确。</td>
      </tr>
      <tr>
        <td class="tdTitle">邮政编码</td>
        <td style="text-align:left;">
            <asp:TextBox ID="zip" runat="server" CssClass="inputTextIME" Width="100px" 
                        MaxLength="6"></asp:TextBox>
                                    <asp:RegularExpressionValidator  SetFocusOnError="True"  ID="zipRegularExpressionValidator" 
                                        runat="server" ControlToValidate="zip" ForeColor="#FF3300"></asp:RegularExpressionValidator></td>
      </tr>
      <tr>
        <td class="tdTitle">固定电话</td>
        <td style="text-align:left;">
            <asp:TextBox ID="tel" runat="server" CssClass="inputTextIME" Width="200px" 
                        MaxLength="20"></asp:TextBox>
                        &nbsp;<asp:RegularExpressionValidator  SetFocusOnError="True"  ID="telRegularExpressionValidator" 
                                        runat="server" ControlToValidate="tel" ForeColor="#FF3300"></asp:RegularExpressionValidator></td>
      </tr>
      <tr>
        <td class="tdTitle">移动电话</td>
        <td style="text-align:left;">
            <asp:TextBox ID="mobile" runat="server" CssClass="inputTextIME" Width="200px"></asp:TextBox>
                &nbsp;<asp:RegularExpressionValidator  SetFocusOnError="True"  ID="mobileRegularExpressionValidator" 
                                        runat="server" ControlToValidate="mobile" ForeColor="#FF3300"></asp:RegularExpressionValidator></td>
      </tr>
      <tr>
        <td class="tdTitle">传真</td>
        <td style="text-align:left;">
            <asp:TextBox ID="fax" runat="server" CssClass="inputTextIME" Width="200px" 
                        MaxLength="20"></asp:TextBox>
                                    &nbsp;<asp:RegularExpressionValidator  SetFocusOnError="True"  ID="faxRegularExpressionValidator" 
                                        runat="server" ControlToValidate="fax" ForeColor="#FF3300" 
                       ></asp:RegularExpressionValidator></td>
      </tr>
      <tr>
        <td class="tdTitle">QQ号码</td>
        <td style="text-align:left;">
            <asp:TextBox ID="qq" runat="server" CssClass="inputTextIME" Width="200px" 
                        MaxLength="20"></asp:TextBox>
                &nbsp;<asp:RegularExpressionValidator  SetFocusOnError="True"  ID="qqRegularExpressionValidator" 
                                        runat="server" ControlToValidate="qq" ForeColor="#FF3300" 
                       ></asp:RegularExpressionValidator></td>
      </tr>
      <tr>
        <td class="tdTitle">淘宝旺旺</td>
        <td style="text-align:left;">
            <asp:TextBox ID="wangwang" runat="server" 
                                CssClass="inputTextIME" Width="200px" 
                        MaxLength="20"></asp:TextBox>
                        </td>
      </tr>
      <tr>
        <td class="tdTitle">
            &nbsp;</td>
        <td style="text-align: left;">
            <asp:Button ID="editUser" runat="server" Text="确认修改" CssClass="inputBottom" 
                onclick="editUser_Click" />
          </td>
        </tr>
    </table>
</div>
</form>
</body>
</html>
