日期:2014-05-18  浏览次数:20439 次

局部刷新
<tr>
  <th height="33" scope="row">&nbsp;</th>
  <td align="right" class="biaozhunziti">
  会员密码:</td>
  <td colspan="4">
  <asp:TextBox ID="txtPass" runat="server" Width="135px" TextMode="Password"></asp:TextBox></td>
  <td>&nbsp;</td>
  </tr>
  <tr>
  <th height="32" scope="row">&nbsp;</th>
  <td align="right" class="biaozhunziti">确认密码:</td>
  <td colspan="4">
  <asp:TextBox ID="txtValidatePass" runat="server" Width="135px" TextMode="Password"></asp:TextBox><asp:CompareValidator
  ID="CompareValidator1" runat="server" ControlToCompare="txtPass" ControlToValidate="txtValidatePass"
  Display="Dynamic" ErrorMessage="两次密码不一致">*</asp:CompareValidator></td>
  <td>&nbsp;</td>
  </tr>
  <asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate> <tr>
  <th height="32" scope="row">&nbsp;</th>
   
  <td align="right" class="biaozhunziti">用户类型:</td>
  <td colspan="8">
  <asp:RadioButtonList ID="rbusertype" runat="server" 
  RepeatDirection="Horizontal" AutoPostBack="True" 
  onselectedindexchanged="rbusertype_SelectedIndexChanged">
  <asp:ListItem>省级</asp:ListItem>
  <asp:ListItem>市级</asp:ListItem>
  <asp:ListItem>区/县级</asp:ListItem>
  <asp:ListItem>镇级</asp:ListItem>
  <asp:ListItem>超级管理员</asp:ListItem>
  </asp:RadioButtonList>
  </td>
   
  </tr>
  <tr>
  <th height="31" scope="row">&nbsp;</th>
  <td align="right" class="biaozhunziti">用户所在:</td>
  <td colspan="8">
  <asp:DropDownList ID="DropDownList6" runat="server" 
  DataSourceID="SqlDataSource3" DataTextField="sText" 
  DataValueField="sText" AutoPostBack="True" 
  onselectedindexchanged="DropDownList6_SelectedIndexChanged" 
  Height="21px" style="margin-right: 0px">
   
  </asp:DropDownList>
  <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
  ConnectionString="<%$ Con