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

📄 company_edit.asp

📁 ASP程序实现的科技期刊系统
💻 ASP
📖 第 1 页 / 共 3 页
字号:
                      主管部门:<%=TopDepart%></td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <%else'注册,选择主管部门及类别%>
                 <tr> 
                    <td height="20" width="6%" bgcolor="#ffffff">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#ffffff"> 
                      <div align="left"></div>
                    </td>
                    <td height="20" width="65%" bgcolor="#ffffff">&nbsp;</td>
                    <td height="20" width="9%" bgcolor="#ffffff">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">主管部门类别</div>
                    </td>
                    <td height="20" width="65%"> 
                      <select name="DepartType" onChange="set_List(this.options.selectedIndex)">
                        <option > </option>
                        <%
                        rstLB.MoveFirst 
                        for i=1 to rstLB.RecordCount %>
                        <option value="<%=rstLB.Fields("主管部门类别").Value%>" <%if departType=rstLB.fields("主管部门类别") then response.write "selected" end if%>><%=rstLB.Fields("主管部门类别").Value %></option>
                        <%rstLB.MoveNext 
                     next
                     rstLB.Close
                     set rstLB=nothing
                     %>
                      </select>
                      <font color="#ff0000">**</font><br>
                      (请先选择“主管部门类别”再选择主管部门。)</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">主管部门</div>
                    </td>
                    <td height="20" width="65%"> 
                      <select name="Depart">
                        <%
                  if rst1.RecordCount<>0 then
                        for i=1 to rst1.RecordCount %>
                        <option value="<%=rst1.Fields("用户编码").Value%>" <%if Depart=rst1.fields("用户编码") then response.write "selected" end if%>><%=rst1.Fields("用户姓名").Value %></option>
                        <%rst1.MoveNext 
						next
						rst1.Close
						set rst1=nothing
				end if
                     %>
                      </select>
                      <font color="#ff0000">**</font> 
                      <script language="JavaScript">
				function set_List(x)
				{
				var l=document.ConList.DepartType.length ;
				var group=new Array(l);
				for (i=0;i<l;i++)
				group[i]=new Array();
				<% for i=0 to Num
				   for j=0 to rst(i).recordcount-1
				response.write "group["&i+1&"]["&j&"]=new Option("""&rst(i)("用户姓名")&""","""&rst(i)("用户编码")&""");"
				response.write chr(13)
				rst(i).movenext
				next
				next
				%>
				var selobj=document.ConList.Depart;
				for (m=selobj.options.length-1;m>0;m--)
				selobj.options[m]=null
				for (i=0;i<group[x].length;i++)
					{
					selobj.options[i]=group[x][i]
					}0
					selobj.options[0].selected=true
				}
</script>
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <%end if%>
				  
                  <% if edit="edit" then %>
                  <tr> 
                    <td height="20" width="6%" bgcolor="#ffffff">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#ffffff"> 
                      <div align="left"></div>
                    </td>
                    <td height="20" width="65%" bgcolor="#ffffff">&nbsp;</td>
                    <td height="20" width="9%" bgcolor="#ffffff">&nbsp;</td>
                  </tr>
                  <tr> 
                    <td height="20" width="6%" bgcolor="#eaeaea">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">用户编码</div>
                    </td>
                    <td height="20" width="65%" bgcolor="#eaeaea">&nbsp;<%=Usercode%></td>
                    <td height="20" width="9%" bgcolor="#eaeaea">&nbsp;</td>
                  </tr>
                  <%end if%>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%"> 
                      <div align="left"></div>
                    </td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="\" width="6%" bgcolor="#eaeaea">&nbsp;</td>
                    <td height="\" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">企业名称</div>
                      <%    '各个输入框的最大长度均已经设定好,不又再校验%>
                    </td>
                    <td height="\" width="65%"> 
                      <input name="Name" maxLength=15 value="<%=userName%>">
                      <font color="#ff0000">**</font> (**为必填项,下同)<br>
                      (请输入企业中文名称,最长为15个汉字) <br>
                    </td>
                    <td height="\" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="white"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="white"> 
                      <div align="left"></div>
                    </td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td width="6%" bgcolor="#eaeaea">&nbsp;</td>
                    <td width="20%" bgcolor="#eaeaea"> 
                      <div align="left">密码</div>
                    </td>
                    <td width="65%" bgcolor="#eaeaea"> 
                      <% if not edit="" then %>
                      <input type="text" name="password" maxlength=6 value="<%=Password%>">
                      <% else %>
                      <input type="password" name="Password" maxlength=6>
                      <%end if%>
                      <font color="#ff0000">**<br>
                      </font>(密码为6位数字或字母) <font color="#ff0000"> <br>
                      </font></td>
                    <td width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="white"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%"> 
                      <div align="left"></div>
                    </td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">确认密码</div>
                    </td>
                    <td height="20" width="65%"> 
                      <input type="password" name="Password2" maxLength=6>
                      <font color="#ff0000">**</font> </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="white"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%"> 
                      <div align="left"></div>
                    </td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">查询密码问题</div>
                    </td>
                    <td height="20" width="65%"> 
                      <input name="Question" size="30" maxLength=200 value="<%=question%>">
                      <font color="#ff0000">**</font> </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="white"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%"> 
                      <div align="left"></div>
                    </td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%" bgcolor="#eaeaea">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea">查询密码问题答案</td>
                    <td height="20" width="65%"> 
                      <input name="Answer" size="30" maxLength=200 value="<%=answer%>">
                      <font color="#ff0000">**</font> </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea">联系人姓名</td>
                    <td height="20" width="65%"> 
                      <input name="LianXiRen" maxlength=5 value="<%=LianXiRen%>">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea">家庭电话</td>
                    <td height="20" width="65%"> 
                      <input name="FTel" maxlength=20 value="<%=FTel%>">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>

⌨️ 快捷键说明

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