sp25175_class_add.asp

来自「1.简单的页面加密」· ASP 代码 · 共 38 行

ASP
38
字号
<!--#include file="conn.asp"-->
<%
booktypeid=request.querystring("booktypeid")
if booktypeid<>"" then 
set rs=server.createobject("adodb.recordset")
sql="select * from booktype where booktypeid="&booktypeid
rs.open sql,db,1,3
booktype=rs("booktype")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加分类</title>
<link href="images/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="88%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tr>
    <td align="center" bgcolor="#3366CC"><font color="#FFFFFF">添 加 书 籍 分 类 &nbsp;&nbsp;&nbsp;&nbsp;</font></td>
  </tr><form name="form1" method="post" action="sp25175_booktypesave.asp">
  <tr>
      <td height="61" align="center"> 
        <input name="booktype" type="text" id="booktype" value="<%=booktype%>">
        <input name="booktypeid" type="hidden" id="booktypeid" value="<%=booktypeid%>">
        &nbsp;&nbsp; 
        <input type="submit" name="Submit" value="添加 或 修改">
&nbsp;&nbsp;&nbsp; 
      </td>
  </tr></form>
</table>


<p align="center"><!--#include file="bottom.asp"--></p>
</body>
</html>

⌨️ 快捷键说明

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