⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_usersynchron.aspx

📁 具有的功能适合于网站的运营和管理
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
                                                       </tr>
                                                       <tr>
                                                          <td align="left">登录帐号</td>
                                                          <td align="left"><asp:TextBox ID="Sql_user" runat="server" Text="sa"/></td>
                                                       </tr>
                                                       <tr>
                                                          <td align="left">登录密码</td>
                                                          <td align="left"><asp:TextBox ID="Sql_Pass" runat="server"  TextMode="Password"/></td>
                                                       </tr>
                                                    </table>
                                                     <asp:Label ID="ErrMessages" runat="server"/>
                                                </td>
                                             </tr>                                                
                                           </table>
                                       </td>
                                       <td width="50%" valign="top">
                                           <asp:Label ID="Message1" runat="server"  CssClass="ErrMessageStyle"/>                      
                                       </td>                                      
                                   </tr>
                                </table>
                            </td>
                        </tr>     
                        <tr>
                           <td>
                              <table border="0" width="100%" bgcolor="white">
                                   <tr bgColor="#e9effc">
                                      <td align="left" width="50%">遇到相同用户名时处理方式</td>
                                      <td><asp:RadioButtonList ID="JumpUser" runat="server" 
                                            SelectedValue='<%# Bind("JumpUser") %>' RepeatDirection="Horizontal">
                                             <asp:ListItem Text="用户名加随机数字" Value="1" />
                                             <asp:ListItem Text="跳过" Value="2" Selected="True"/>
                                          </asp:RadioButtonList>
                                      </td>                                     
                                   </tr>                                                                    
                               </table>
                           </td>
                        </tr>
                        <tr>
                           <td>
                              <table border="0" width="100%" bgcolor="white">
                                   <tr bgColor="#e9effc">
                                      <td align="left" width="50%">当目标系统的ID字段不是自动递增请勾选</td>
                                      <td><asp:CheckBox ID="AutoID" runat="server" />(若转换系统为动易请勾选)</td>
                                   </tr>                                   
                               </table>
                           </td>
                        </tr>
                         <tr>
                           <td>
                              <table border="0" width="100%" bgcolor="white">
                                   <tr bgColor="#e9effc">
                                      <td align="left" width="50%">该系统采用MD5加密位数</td>
                                      <td><asp:DropDownList ID="Md5Size"  runat="server">
                                             <asp:ListItem Text="16位" Value="16"  Selected="True"/>
                                             <asp:ListItem Text="32位" Value="32" />
                                          </asp:DropDownList>
                                       </td>
                                   </tr>                                   
                               </table>
                           </td>
                        </tr>
                         <tr>
                           <td>
                              <table border="0" width="100%" bgcolor="white">
                                   <tr bgColor="#e9effc">
                                      <td align="left" width="50%">设置转换起始数量</td>
                                      <td>起始ID<asp:TextBox ID="StartID" runat="server" width="60px" Text="0"  />结束ID<asp:TextBox ID="EndID" runat="server" width="60px"  Text="0" />
                                     <br /><span style="color:Red">若起始ID和结束ID均为0则表示转换全部的用户</span>
                                       </td>
                                   </tr>                                   
                               </table>
                           </td>
                        </tr>
                        <tr>
                           <td align="right"> 
                               
                           <asp:Button ID="SychroSetButton" runat="server" Text="下一步"  OnClick="SychroSetButton_Click"/></td>
                        </tr>                       
                    </table>
            </asp:WizardStep>
           
            <asp:WizardStep runat="server" Title="设置转换字段" ID="step3">
            
            <asp:HiddenField ID="TransferIDValue" runat="server"/>
                 <table cellSpacing="1" cellPadding="3"  class="UserSynchronTable" width="100%">
                         <tr bgColor="#185195">
                            <td height="2"></td>
                         </tr>
                         <tr bgColor="#e9effc">
                            <td align="center">转换字段设置</td>
                         </tr>
                         <tr>
                            <td>
                               <table border="0" width="100%" bgcolor="white">
                                   <tr bgColor="#e9effc">
                                      <td  align="center" style="width:25%">恒浪OMSV5.0数据表字段</td>
                                      <td  align="center" style="width:25%">转移数据表字段</td>
                                      <td  align="center" style="width:25%">该字段在此系统的默认值</td>
                                      <td  align="center" style="width:25%"></td>                                      
                                   </tr>
                                   <tr>
                                      <td  align="center" style="width:25%">
                                         <asp:DropDownList ID="HowaveDataTable" runat="server" />
                                      </td>
                                      <td  align="center" style="width:25%"><asp:DropDownList ID="OtherTable" runat="server"/></td>
                                      <td  align="center" style="width:25%"><asp:TextBox ID="DefaulValue" runat="server" /></td>
                                      <td  align="center" style="width:25%"><asp:button ID="TransferSave" runat="server" Text="保存添加字段"  OnClick="TransferSaveButton_Click"/></td>   
                                   </tr>                                
                               </table>
                            </td>
                         </tr>
                    </table>
                     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%"  DataKeyNames="TransferFieldID"   OnRowDeleting="GridView1_RowDeleting">
                               <Columns>
                                  <asp:BoundField DataField="HLFieldName" HeaderText="恒浪字段/字段类型" >
                                      <HeaderStyle Width="25%" />
                                  </asp:BoundField>
                                  <asp:BoundField DataField="FieldName" HeaderText="目标系统字段/字段类型">
                                      <HeaderStyle Width="25%" />
                                  </asp:BoundField>
                                  <asp:BoundField DataField="DefaultValue" HeaderText="默认值">
                                      <HeaderStyle Width="25%" />
                                  </asp:BoundField>                               
                                  <asp:TemplateField HeaderText="删除"> 
                                  <ItemTemplate> 
                                      <asp:Button id="btnDelete" runat="server" OnClientClick ="return confirm('您真的要删除?');" CommandName="Delete" Text="删除" CommandArgument='<% Bind("TransferFieldID") %>'></asp:Button> 
                                  </ItemTemplate> 
                                  <ItemStyle Width="25%" />
                                  </asp:TemplateField> 
                               </Columns>
                    </asp:GridView> 
                    <div style="width:98%; text-align:right;"> <asp:Button ID="Button1" runat="server" Text="下一步"  OnClick="SaveSynchronField"/></div>
                    <div style="text-align:left;">
                       <b>转换字段说明:</b><br />
                       <ul>
                          <li>UserID字段不需要设置保存,因为UserID字段一般是默认递增</li>
                          <li>当从恒浪V5.0同步到其它系统时,在恒浪没有对应该系统字段或者需要在转换中设置该系统某些字段对应值,则可以从恒浪设置中选择“其它”一项,并填入默认值</li>
                          <li>例如:从恒浪转BBS论坛,需要设置会员的默认等级Group为1,则只需设置恒浪字段为“其它”BBS字段为"Group",默认值为1,点击保存即可</li>
                       </ul>                       
                    </div>
            </asp:WizardStep>
        </WizardSteps>
        <StepStyle VerticalAlign="Top" HorizontalAlign="Center" />
        <SideBarStyle HorizontalAlign="Center" VerticalAlign="Top" Width="15%" />
        <StepNavigationTemplate>            
        </StepNavigationTemplate>
    </asp:Wizard>
  </fieldset>         
  </ContentTemplate>
</asp:UpdatePanel>
 <asp:UpdateProgress ID="UpdateProgress1" runat="server">
   <ProgressTemplate>
      <DIV class="wait"><IMG src="../IMS_Img/wait.gif" align=middle />请稍等... </DIV>
   </ProgressTemplate>
</asp:UpdateProgress>
    <div id="help2" style="position:absolute;z-index:1; border:solid 1px black; padding:10px; background:white; display:none; left: 0px; top: 0px;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      <ul>
         <li><b>动易2006:</b>PE_User</li><li><b>动网7.1:</b>UserName</li><li><b>OBLOG4.0:</b>username</li><li><b>创力:</b>UserName</li><li><b>BBSXP7:</b>UserName</li></ul>   
     </div>
    <div id="help1" style="position:absolute;z-index:1; border:solid 1px black; padding:10px; background:white; display:none; left: 0px; top: 0px;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      <ul>
         <li><b>动易2006:</b>PE_User</li><li><b>动网7.1:</b>DV_User</li><li><b>OBLOG4.0:</b>oblog_user</li><li><b>创力:</b>cl_User</li><li><b>BBSXP7:</b>BBSXP_Users</li></ul>   
   </div>
    <div id="help3" style="position:absolute;z-index:1; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      <ul>
         <li><b>动易2006:</b>UserID</li><li><b>动网7.1:</b>UserID</li><li><b>OBLOG4.0:</b>userid</li><li><b>创力:</b>UserID</li><li><b>BBSXP7:</b>ID</li></ul>   
   </div>
   <div id="help4" style="position:absolute;z-index:1; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      <ul>
         <li><b>相对当前目录路径:</b>如在上一级目录需要在前面添加"../"</li><li><b>例如:</b>网站路径为http://www.howave.com/cms/database/data.mdb,Accees路径为"../cms/database/data.mdb"</li></ul>   
   </div>
    <div id="help5" style="position:absolute;z-index:1; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      <ul>
         <li><b>填写MySql的数据库地址</b></li><li>若为mySql数据库,默认的数据库端口号是3306,若你的MySql数据库端口号不是默认的请按照以下格式填写</li><li><b>例如:</b>localhost:6033</li><li><b>例如:</b>192.168.2.233:7048</li></ul>   
   </div>
<asp:HiddenField ID="SQLPassword" runat="server" />   
<asp:HiddenField ID="ConnectionString" runat="server" />
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetTransferSet"
        TypeName="HowaveTransferSet"/>
     
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -