<%@ page language="C#" autoeventwireup="true" inherits="HL_Admin_Admin_AddPassport, HoWaveVGO" enableEventValidation="false" %>

<!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>
    <base target=_self></base>
    <link href="Css/template_css.css" type="text/css" rel="stylesheet">
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" DefaultMode="Edit" DataKeyNames="UserID" Width="100%"  OnItemUpdated="FormView1_ItemUpdated" OnItemInserted="FormView1_ItemInserted">
                <InsertItemTemplate>                              
                  <table class="tableadd">
                    <tr><th colspan="2">新增通行证</th></tr>
                    <tr>
                      <td class="tdbg1">用户名</td>
                      <td class="tdbg2"><asp:TextBox ID="UserName" Text='<%# Bind("UserName") %>' runat="server" AutoPostBack="True" OnTextChanged="UserName_TextChanged" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="UserName"
                              ErrorMessage="不能空"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                     <td class="tdbg1">用户组别</td>
                     <td class="tdbg2"><asp:DropDownList AppendDataBoundItems="true"  ID="DropDownList1" runat="server" CssClass="reg_textbox"  SelectedValue='<%# Bind("GroupID") %>' DataSourceID="ObjectDataSource2" DataTextField="GroupName" DataValueField="GroupID" Width="146px">
                          <asp:ListItem Text="请选择" Value="0" Selected="True" />
                      </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetGroups"
                          TypeName="GroupBLL"></asp:ObjectDataSource>
                          &nbsp;
                      </td>
                    </tr>
                    <tr>
                      <td class="tdbg1">密码</td>
                      <td class="tdbg2"><asp:TextBox ID="UserPassword" Text='<%# Bind("Password") %>' runat="server" TextMode="Password" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="UserPassword"
                              ErrorMessage="不能空"></asp:RequiredFieldValidator></td>
                     </tr>
                     <tr>
                      <td class="tdbg1">性别</td>
                      <td class="tdbg2">
                         <asp:RadioButtonList ID="Sex" runat="server" SelectedValue='<%# Bind("Sex") %>' RepeatDirection="Horizontal">
                            <asp:ListItem Text="男" Value="0"  Selected="True"/>
                            <asp:ListItem Text="女" Value="1" />
                         </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">邮箱</td>
                      <td class="tdbg2"><div style="float:left;"><asp:TextBox ID="Email" Text='<%# Bind("Email") %>' runat="server" /></div><div style="float:left; position:absolute;"><asp:RegularExpressionValidator
                              ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email" ErrorMessage="邮件格式不正确"
                              ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></div><div style="float:left; position:absolute;"><asp:RequiredFieldValidator
                                  ID="RequiredFieldValidator1" runat="server" ControlToValidate="Email" ErrorMessage="不能空"></asp:RequiredFieldValidator></div></td>                      
                     </tr>
                     <tr>
                      <td class="tdbg1">是否锁定</td>
                      <td class="tdbg2">
                        <asp:RadioButtonList ID="IsLocked" runat="server" RepeatDirection="Horizontal" SelectedValue='<%# Bind("IsLocked") %>'>
                           <asp:ListItem Text="锁定" Value="1" />
                           <asp:ListItem Text="不锁定" Value="0" Selected="True"/>
                        </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">问题</td>
                      <td class="tdbg2">
                       <asp:DropDownList ID="DDLUserQuestion" runat="server" CssClass="reg_textbox"  SelectedValue='<%# Bind("Question") %>' Width="132px">
                             <asp:ListItem Text="请选择"  Selected="True" />
                            <asp:ListItem>我最好的朋友是谁？</asp:ListItem>
                            <asp:ListItem>我最喜爱的颜色？</asp:ListItem>
                            <asp:ListItem>我最喜爱的影星？</asp:ListItem>
                            <asp:ListItem>我的宠物名字？</asp:ListItem>
                            <asp:ListItem>我最喜爱的食物？</asp:ListItem>
                            <asp:ListItem>我最大的爱好？</asp:ListItem>
                            <asp:ListItem>我最喜欢的卡通人物名字？</asp:ListItem>
                            <asp:ListItem>我母亲/父亲的生日？</asp:ListItem>
                            <asp:ListItem>我最喜欢的运动队全称？</asp:ListItem>
                            <asp:ListItem>我最欣赏的一位名人的名字？</asp:ListItem>
                            <asp:ListItem>我的座右铭是？</asp:ListItem>
                            <asp:ListItem>我最喜欢的一句影视台词？</asp:ListItem>
                            <asp:ListItem>我中学校名全称是什么？</asp:ListItem>
                         </asp:DropDownList></td>
                     </tr>
                     <tr>
                      <td class="tdbg1">答案</td>
                      <td class="tdbg2"><asp:TextBox ID="Answer" Text='<%# Bind("Answer") %>' runat="server" /></td>
                    </tr>                   
                    <tr>
                      <td class="tdbg1">通行币</td>
                      <td class="tdbg2"><div style="float:left;"><asp:TextBox ID="GoldCoin" Text='<%# Bind("GoldCoin") %>' runat="server" /></div>
                      <div style="float:left; position:absolute;"><asp:RangeValidator
                              ID="RangeValidator2" runat="server" ControlToValidate="GoldCoin" ErrorMessage="通行币必须为整数"
                              MaximumValue="999999999" MinimumValue="-999999999" Type="Integer"></asp:RangeValidator></div>
                              <div style="float:left; position:absolute;"><asp:RequiredFieldValidator
                                  ID="RequiredFieldValidator2" runat="server" ControlToValidate="GoldCoin" ErrorMessage="不能空"></asp:RequiredFieldValidator></div></td>                      
                     </tr>
                     <tr>
                      <td class="tdbg1">上一次登录IP</td>
                      <td class="tdbg2"><asp:TextBox ID="LastLoginIP" Text='<%# Bind("LastLoginIP") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">通行证ID</td>
                      <td class="tdbg2"><asp:TextBox ID="TextBox12" Text='<%# Bind("PassportID") %>' runat="server" /></td>
                     </tr>
                     <tr>
                      <td class="tdbg1">登录次数</td>
                      <td class="tdbg2"><div style="float:left;"><asp:TextBox ID="LoginTimes" Text='<%# Bind("LoginTimes") %>' runat="server" /></div>
                      <div style="float:left; position:absolute;"><asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="LoginTimes" ErrorMessage="登录的次数必须为非负的整数"
                              MaximumValue="99999999" MinimumValue="0"></asp:RangeValidator></div>
                              <div style="float:left; position:absolute;"><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="LoginTimes" ErrorMessage="不能空"></asp:RequiredFieldValidator></div></td>
                    </tr> 
                    <tr>                       
                       <td colspan="2"  style="text-align:center;">
                          <br />
                          <asp:Button ID="UserDetailButton" Text="新增通行证" CausesValidation="true" CommandName="Insert" runat="server" />
                          <asp:Button ID="UpdateCancelButton" runat="server" CausesValidation="False"  OnClientClick="window.close();" Text="取消"/>  
                       </td> 
                    </tr>    
                 </table>                
              </InsertItemTemplate>
              <EditItemTemplate>
                <table class="tableadd">
                    <tr><th colspan="2">修改通行证</th></tr>
                    <tr>
                      <td class="tdbg1">用户名</td>
                      <td class="tdbg2"><asp:Label ID="LabUserName" Text='<%# Bind("UserName") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1" style="width: 91px">用户组别</td>
                      <td class="tdbg2" style="width: 373px"><asp:DropDownList AppendDataBoundItems="true"  ID="DropDownList1" runat="server" CssClass="reg_textbox"  SelectedValue='<%# Bind("GroupID") %>' DataSourceID="ObjectDataSource2" DataTextField="GroupName" DataValueField="GroupID" Width="142px">
                          <asp:ListItem Text="未知" Value="0" Selected="True" /> 
                      </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetGroups"
                          TypeName="GroupBLL"></asp:ObjectDataSource>
                      </td>
                    </tr>
                    <tr>
                      <td class="tdbg1">密码</td>
                      <td class="tdbg2"><asp:TextBox ID="UserPassword" Text='<%# Bind("Password") %>' runat="server" TextMode="Password" />空为不修改</td>
                    </tr>
                    <tr>
                      <td class="tdbg1" style="width: 91px">性别</td>
                      <td class="tdbg2" style="width: 373px">
                         <asp:RadioButtonList ID="Sex" runat="server" SelectedValue='<%# Bind("Sex") %>' RepeatDirection="Horizontal">
                            <asp:ListItem Text="男" Value="0" Selected="True" />
                            <asp:ListItem Text="女" Value="1" />
                             <asp:ListItem Text="保密" Value="-1" />
                         </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">邮箱</td>
                      <td class="tdbg2"><div style="float:left;"><asp:TextBox ID="Email" Text='<%# Bind("Email") %>' runat="server" /></div>
                          <div style="float:left; position:absolute;"><asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email"
                              ErrorMessage="邮件格式不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></div>
                          <div style="float:left; position:absolute;"><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Email"
                              ErrorMessage="不能空"></asp:RequiredFieldValidator></div></td>
                    </tr>
                    <tr> 
                      <td class="tdbg1" style="width: 91px">注册时间</td>
                      <td class="tdbg2" style="width: 373px"><asp:TextBox ID="RegTime" Text='<%# Bind("RegTime") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">问题</td>
                      <td class="tdbg2">
                      <asp:DropDownList ID="DDLUserQuestion" runat="server" CssClass="reg_textbox"  SelectedValue='<%# Bind("Question") %>' Width="130px">
                             <asp:ListItem Text=""  Selected="True" />
                            <asp:ListItem>我最好的朋友是谁？</asp:ListItem>
                            <asp:ListItem>我最喜爱的颜色？</asp:ListItem>
                            <asp:ListItem>我最喜爱的影星？</asp:ListItem>
                            <asp:ListItem>我的宠物名字？</asp:ListItem>
                            <asp:ListItem>我最喜爱的食物？</asp:ListItem>
                            <asp:ListItem>我最大的爱好？</asp:ListItem>
                            <asp:ListItem>我最喜欢的卡通人物名字？</asp:ListItem>
                            <asp:ListItem>我母亲/父亲的生日？</asp:ListItem>
                            <asp:ListItem>我最喜欢的运动队全称？</asp:ListItem>
                            <asp:ListItem>我最欣赏的一位名人的名字？</asp:ListItem>
                            <asp:ListItem>我的座右铭是？</asp:ListItem>
                            <asp:ListItem>我最喜欢的一句影视台词？</asp:ListItem>
                            <asp:ListItem>我中学校名全称是什么？</asp:ListItem>
                         </asp:DropDownList>
                         </td>
                     </tr>
                     <tr>
                      <td class="tdbg1" style="width: 91px">加入时间</td>
                      <td class="tdbg2" style="width: 373px"><asp:TextBox ID="JoinTimes" Text='<%# Bind("JoinTime") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">答案</td>
                      <td class="tdbg2"><asp:TextBox ID="Answer" Text='<%# Bind("Answer") %>' runat="server" TextMode="Password" />空为不修改</td>
                    </tr>
                    <tr>
                       <td class="tdbg1" style="width: 91px">上一次登录时间</td>
                      <td class="tdbg2" style="width: 373px"><asp:TextBox ID="LastLoginTimes" Text='<%# Bind("LastLoginTime") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">通行币</td>
                      <td class="tdbg2"><div style="float:left;"><asp:TextBox ID="GoldCoin" Text='<%# Bind("GoldCoin") %>' runat="server" />&nbsp;
                          </div>
                          <div style="float:left; position:absolute;"><asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="GoldCoin"
                              ErrorMessage="通行币必须为整数" MaximumValue="999999999" MinimumValue="-999999999" Type="Integer"></asp:RangeValidator></div>
                              <div style="float:left; position:absolute;"><asp:RequiredFieldValidator
                                  ID="RequiredFieldValidator2" runat="server" ControlToValidate="GoldCoin" ErrorMessage="不能空"></asp:RequiredFieldValidator></div></td>                      
                     </tr>
                     <tr>
                      <td class="tdbg1" style="width: 91px">上一次登录IP</td>
                      <td class="tdbg2" style="width: 373px"><asp:TextBox ID="LastLoginIP" Text='<%# Bind("LastLoginIP") %>' runat="server" />
                          <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tdbg1">通行证ID</td>
                      <td class="tdbg2"><asp:TextBox ID="TextBox12" Text='<%# Bind("PassportID") %>' runat="server" /></td>
                    </tr>
                    <tr>
                       <td class="tdbg1" style="width: 91px">登录次数</td>
                      <td class="tdbg2" style="width: 373px">
                      <div></div><asp:TextBox ID="LoginTimes" Text='<%# Bind("LoginTimes") %>' runat="server" /></div>
                          <div style="float:left; position:absolute;"><asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="LoginTimes"
                              ErrorMessage="登录的次数必须为非负的整数" MaximumValue="99999999" MinimumValue="0"></asp:RangeValidator></div>
                              <div style="float:left; position:absolute;"><asp:RequiredFieldValidator
                                  ID="RequiredFieldValidator3" runat="server" ControlToValidate="LoginTimes" ErrorMessage="不能空"></asp:RequiredFieldValidator></div></td>
                    </tr>                   
                    <tr>                      
                       <td colspan="2" align="center">
                         <br />
                         <asp:Button ID="UserDetailButton" Text="保存修改" CausesValidation="true" CommandName="Update" runat="server" />
                          <asp:Button ID="UpdateCancelButton" runat="server" CausesValidation="False" OnClientClick="window.close();"  Text="取消"/>  
                       </td> 
                     </tr>    
                  </table> 
              </EditItemTemplate>
               <ItemTemplate>
                <table class="tableadd">
                    <tr><th colspan="2">查看通行证</th></tr>
                    <tr>
                      <td class="tdbg1">用户名</td>
                      <td class="tdbg2"><asp:Literal ID="UserName" Text='<%# Bind("UserName") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">用户组别</td>
                      <td class="tdbg2"><asp:DropDownList Enabled="false" ID="DropDownList1" runat="server" CssClass="reg_textbox" AppendDataBoundItems="true"  SelectedValue='<%# Bind("GroupID") %>' DataSourceID="ObjectDataSource2" DataTextField="GroupName" DataValueField="GroupID" Width="132px">
                          <asp:ListItem Text="未知"　 Value="0" Selected="True" 　/> 
                      </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetGroups"
                          TypeName="GroupBLL"></asp:ObjectDataSource>
                      </td>
                    </tr>
                    <tr>
                      <td class="tdbg1">密码</td>
                      <td class="tdbg2"><asp:Literal ID="TextBox1" Text='<%# Bind("Password") %>' runat="server" Visible="False" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">性别</td>
                      <td class="tdbg2"><asp:Literal ID="Sex" Text='<%# (Convert.ToInt32(Eval("Sex"))==1)?"女":"男" %>' runat="server" />
                        </td>
                    </tr>
                    <tr>
                      <td class="tdbg1">邮箱</td>
                      <td class="tdbg2"><asp:Literal ID="Email" Text='<%# Bind("Email") %>' runat="server" /></td>
                    </tr>
                    <tr>  
                      <td class="tdbg1">注册时间</td>
                      <td class="tdbg2"><asp:Literal ID="RegTime" Text='<%# Bind("RegTime") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">问题</td>
                      <td class="tdbg2"><asp:Literal ID="Question" Text='<%# Bind("Question") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">加入时间</td>
                      <td class="tdbg2"><asp:Literal ID="JoinTimes" Text='<%# Bind("JoinTime") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">答案</td>
                      <td class="tdbg2"><asp:Literal ID="Answer" Text='<%# Bind("Answer") %>' runat="server" Visible="False" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">上一次登录时间</td>
                      <td class="tdbg2"><asp:Literal ID="LastLoginTimes" Text='<%# Bind("LastLoginTime") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">通行币</td>
                      <td class="tdbg2"><asp:Literal ID="GoldCoin" Text='<%# Bind("GoldCoin") %>' runat="server" /></td>                      
                    </tr>
                    <tr>
                      <td class="tdbg1">上一次登录IP</td>
                      <td class="tdbg2"><asp:Literal ID="LastLoginIP" Text='<%# Bind("LastLoginIP") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">通行证ID</td>
                      <td class="tdbg2"><asp:Literal ID="PassportID" Text='<%# Bind("PassportID") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td class="tdbg1">登录次数</td>
                      <td class="tdbg2"><asp:Literal ID="LoginTimes" Text='<%# Bind("LoginTimes") %>' runat="server" /></td>
                    </tr>
                    <tr>
                      <td colspan="2" style="text-align:center; height:25px;">
                         <br />
                         <asp:Button Text="修改" ID="Button2" CommandName="Edit" runat="server" />&nbsp;<asp:Button ID="Button1" Text="新增" CommandName="New" runat="server" />
                      </td>                      
                    </tr>  
                  </table> 
              </ItemTemplate>
       </asp:FormView>      
    </div>
      <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DeleteMethod="Delete"
              InsertMethod="AddUser" SelectMethod="GetUserByUserID" TypeName="UserBLL" UpdateMethod="UpdateUser" OnInit="ObjectDataSource1_Init1" OnInserting="ObjectDataSource1_Inserting" OnInserted="ObjectDataSource1_Inserted"  OnUpdating="ObjectDataSource1_Updating"   OnUpdated="ObjectDataSource1_Updated" >
                        <DeleteParameters>
                            <asp:Parameter Name="UserID" Type="Int32" />
                        </DeleteParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="GroupID" Type="Int32" />
                            <asp:Parameter Name="ClientID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="ContacterID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="CompanyID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="RssID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="UserType" Type="String" DefaultValue=""/>
                            <asp:Parameter Name="UserName" Type="String" />
                            <asp:Parameter Name="Password" Type="String" />
                            <asp:Parameter Name="Email" Type="String" />
                            <asp:Parameter Name="Question" Type="String" />
                            <asp:Parameter Name="Answer" Type="String" />
                            <asp:Parameter Name="Sex" Type="Int32" />
                            <asp:Parameter Name="RegTime" Type="DateTime" />
                            <asp:Parameter Name="JoinTime" Type="String" />
                            <asp:Parameter Name="LastLoginTime" Type="DateTime" />
                            <asp:Parameter Name="LastLoginIP" Type="String" />
                            <asp:Parameter Name="LoginTimes" Type="Int32" />
                            <asp:Parameter Name="GoldCoin" Type="Int32" />
                            <asp:Parameter Name="Point" Type="Int32"  DefaultValue="0"/>
                            <asp:Parameter Name="Ticket" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="UserEP" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="Balance" Type="Decimal" DefaultValue="0"/>
                            <asp:Parameter Name="ConsumePoint" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="BeginTime" Type="DateTime" DefaultValue="2007-1-1"/>
                            <asp:Parameter Name="ValidNum" Type="String" DefaultValue=""/>
                            <asp:Parameter Name="ValidUnit" Type="String" DefaultValue=""/>
                            <asp:Parameter Name="IsLocked" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="UnreadMsg" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="UserFriednGroup" Type="Int32" />
                            <asp:Parameter Name="CheckNum" Type="String" DefaultValue=""/>
                            <asp:Parameter Name="PassportID" Type="String" />
                            <asp:Parameter Name="RssOpen" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="UserID" Type="Int32" />
                        </UpdateParameters>
                        <InsertParameters>
                            <asp:Parameter Name="GroupID" Type="Int32" />
                            <asp:Parameter Name="ClientID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="ContacterID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="CompanyID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="RssID" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="UserType" Type="String" DefaultValue=""/>
                            <asp:Parameter Name="UserName" Type="String" />
                            <asp:Parameter Name="Password" Type="String" />
                            <asp:Parameter Name="Email" Type="String" />
                            <asp:Parameter Name="Question" Type="String" />
                            <asp:Parameter Name="Answer" Type="String" />
                            <asp:Parameter Name="Sex" Type="Int32" />
                            <asp:Parameter Name="LastLoginIP" Type="String" />
                            <asp:Parameter Name="LoginTimes" Type="Int32" />
                            <asp:Parameter Name="GoldCoin" Type="Int32" />
                            <asp:Parameter Name="Point" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="Ticket" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="UserEP" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="IsLocked" Type="Int32" />
                            <asp:Parameter Name="CheckNum" Type="String" DefaultValue=""/>
                            <asp:Parameter Name="PassportID" Type="String" />
                            <asp:Parameter Name="RssOpen" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="RegType" Type="Int32" DefaultValue="0"/>
                            <asp:Parameter Name="RegIP" Type="String" DefaultValue=""/>
                            <asp:Parameter Name="SendMsg" Type="Int32" DefaultValue="0"/>
                        </InsertParameters>
             <SelectParameters>
                 <asp:QueryStringParameter Name="UserID" QueryStringField="UserID" Type="Int32" />
             </SelectParameters>
      </asp:ObjectDataSource>         &nbsp;
    </form>
</body>
</html>
