modifydirection.asp

来自「asp的新闻网站」· ASP 代码 · 共 59 行

ASP
59
字号
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<script language="javascript" src="check.js"></script>
<link rel=stylesheet href="style.css" type=text/css>
</head>
 <!--#include file="../include/odbc.asp" -->
<!--#include file="../include/killStr.asp" -->
<!--#include file="../include/checkUser.asp" -->
<!--#include file="../include/checkServer.asp" -->
<%
'修改:潘树文
'时间:2001年2月9日
%>
<body bgcolor="#C0C0C0">

<table>
<%
Dim rs
Dim sql

Set rs=server.CreateObject("adodb.RecordSet")
sql="SELECT * FROM weather_direction Where directionID='" & Request.QueryString("id") & "'"
rs.Open sql,conn,1,2
%>
<tr>
<td><font color="#008080">风向管理->风向修改<br>
  </font></td>
</tr>
<form method="POST" action="modifydirectionSave.asp"  onsubmit="return check(this);" name="form1">
<INPUT TYPE="hidden" name="id" value=<%=rs("directionID")%>>

<table border="1" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="33%">
      <p align="right">修改状况:</td>
    <td width="67%" colspan="2">
        <input type="text" name="Name" size="10" value=<%=rs("directionName")%> ></td>
  </tr>
  <tr>
    <td width="50%" colspan="2" align="center"><input type="submit" value="确    认" name="B1"></td>
    <td width="50%" align="center"><input type="reset" value="重新填写" name="B2"></td>
  </tr>
</table>
</form>

</body>
<%
rs.Close
Set rs = nothing
conn.Close
Set conn = nothing
%>

⌨️ 快捷键说明

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