📄 edit.asp
字号:
</tr>
<tr>
<td width="25%" align="right" height="26">单位名称:</td>
<td width="76%" height="26"><input type="text" name="dname" size="30" value="<%=rs("name")%>"> <font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="25%" align="right" height="26">用 户 名:</td>
<td width="76%" height="26"><input type="text" name="username" size="20" value="<%=rs("username")%>" ReadOnly>
<font color="#FF0000">(不能修改)</font></td>
</tr>
<tr>
<td width="25%" align="right" height="26">登录密码:</td>
<td width="76%" height="26"><input type="text" name="password" size="20" value="<%=rs("password")%>">
<font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="25%" align="right" height="26">主营业务:</td>
<td width="76%" height="26"><input type="text" name="dyewu" size="50" value="<%=rs("yewu")%>"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">所在区域:</td>
<td width="76%" height="26">
<select name="dcity" size="1"><option selected value="<%=rs("city")%>"><%=rs("city")%></option>
<%
set rs_city = server.createobject("adodb.recordset")
sql = "select * from city"
rs_city.open sql,conn,1,1
do while not rs_city.eof
%>
<option value="<%=rs_city("city")%>"><%=rs_city("city")%></option>
<%
rs_city.movenext
loop
rs_city.close
set rs_city = nothing
%>
</select> <font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td width="25%" align="right" height="26">行业类别:</td>
<td width="76%" height="26">
<select name="dlei" size="1"><option selected value="<%=rs("leiid")%>@<%=rs("lei")%>"><%=rs("lei")%></option>
<%
set rs_lei = server.createobject("adodb.recordset")
sql = "select * from lei"
rs_lei.open sql,conn,1,1
do while not rs_lei.eof
%>
<option value="<%=rs_lei("id")%>@<%=rs_lei("lei")%>"><%=rs_lei("lei")%></option>
<%
rs_lei.movenext
loop
rs_lei.close
set rs_lei = nothing
%>
</select> <font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td width="25%" align="right" height="26">单位地址:</td>
<td width="76%" height="26"><input type="text" name="daddress" size="30" value="<%=rs("address")%>"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">邮政编码:</td>
<td width="76%" height="26"><input type="text" name="dyoubian" size="30" value="<%=rs("youbian")%>" maxlength="6"></td>
</tr>
<tr>
<td width="25%" align="right" height="26">联 系 人:</td>
<td width="76%" height="26"><input type="text" name="dfaren" size="30" value="<%=rs("faren")%>"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">联系电话:</td>
<td width="76%" height="26"><input type="text" name="dtel" size="30" value="<%=rs("tel")%>"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">联系传真:</td>
<td width="76%" height="26"><input type="text" name="dfax" size="30" value="<%=rs("fax")%>"></td>
</tr>
<tr>
<td width="25%" align="right" height="26">电子信箱:</td>
<td width="76%" height="26"><input type="text" name="dmail" size="30" value="<%=rs("mail")%>"></td>
</tr>
<tr>
<td width="25%" align="right" height="26">网站地址:</td>
<td width="76%" height="26"><input type="text" name="dhttp" size="30" value="<%=rs("http")%>"></td>
</tr>
<tr>
<td width="25%" align="right" height="126">详细资料:</td>
<td width="76%" height="126"><textarea rows="10" name="djieshao" cols="50"><% if rs("jieshao")<>"" then %><%=replace(rs("jieshao"),"<br>",vbcrlf)%><% end if %></textarea>
</td>
</tr>
<tr>
<td width="24%" align="right" height="51">
<p align="center"></td>
<td width="77%" align="right" height="51">
<p align="left"><input type="submit" value="提交" name="submit" >
<input type="reset" value="取消" name="reset"> <input type="button" value="返回" name="cmdexit" onclick=" history.back()"></td>
</tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -