contact.asp

来自「ASP企业网络管理系统」· ASP 代码 · 共 39 行

ASP
39
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div align="center">
<%
Session("rs").Open "select * from contact where id = 1"
if not Session("rs").EOF then
%>
<table width="450" border="0" cellspacing="0" cellpadding="0">
  <tr>
        <td>电话:</td>
    <td><input name="phone" type="text" id="phone" readonly="true" value="<%= Session("rs")("phone") %>"></td>
  </tr>
  <tr>
        <td>传真:</td>
    <td><input name="fax" type="text" id="fax" readonly="true" value="<%= Session("rs")("fax") %>"></td>
  </tr>
  <tr>
        <td>信箱:</td>
    <td><input name="email" type="text" id="email" readonly="true" value="<%= Session("rs")("email") %>"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<%
end if
Session("rs").Close
%>
</div>
</body>
</html>

⌨️ 快捷键说明

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