⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diepianaddfinish.asp

📁 自己做的一个在线光碟租售系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/CONNECT.asp" -->
<%

if(request.form("1") <> "") then Command1__A = request.form("1")

if(request.form("2") <> "") then Command1__B = request.form("2")

if(request.form("3") <> "") then Command1__C = request.form("3")

if(request.form("4") <> "") then Command1__D = request.form("4")

if(request.form("5") <> "") then Command1__E = request.form("5")

if(request.form("6") <> "") then Command1__F = request.form("6")

if(request.form("7") <> "") then Command1__G = request.form("7")

if(request.form("8") <> "") then Command1__H = request.form("8")

if(request.form("9") <> "") then Command1__I = request.form("9")

if(request.form("10") <> "") then Command1__J = request.form("10")

%>
<%

set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_CONNECT_STRING
Command1.CommandText = "INSERT INTO products (PID,PNAME,PTYPE,PLOC,PPRICE,PZUJIA,PDIS,PGESHI,PZHUYAN,PTIME)  VALUES ('"&Command1__A&"','"&Command1__B&"','"&Command1__C&"','"&Command1__D&"','"&Command1__E&"','"&Command1__F&"','"&Command1__G&"','"&Command1__H&"','"&Command1__I&"','"&Command1__J&"')"
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 100px;
	margin-right: 30px;
}
.STYLE2 {
	font-weight: bold;
	color: #000000;
	font-size: 16px;
}
.STYLE3 {font-size: 16px}
.STYLE1 {	color: #00FF00;
	font-size: 24px;
}
.STYLE4 {font-family: "华文行楷";
	font-size: smaller;
}
.STYLE4 {font-size: 36px;
	color: #33CC66;
}
.STYLE5 {font-size: xx-large;
	font-family: "华文行楷";
	color: #00FF00;
}
.STYLE6 {font-family: "宋体";
	font-size: small;
}
.STYLE9 {color: #D4D0C8}
-->
</style></head>

<body>
<table width="812" height="568" border="1">
  <tr>
    <td width="802" height="117" bgcolor="#666666" class="STYLE3"><div align="center"><span class="STYLE1"><span class="STYLE5"><span class="STYLE4">欢迎进入管理主页</span></span><img src="photo/11.jpg" width="194" height="77" align="absmiddle" /></span></div></td>
  </tr>
  <tr>
    <td height="321" bgcolor="#999999"><div align="center">
      <p class="STYLE2">已经成功添加!</p>
	  <p><a href="loginOK.asp"><strong>返回首页</strong></a></p>
    </div></td>
  </tr>
  <tr>
    <td height="122" bgcolor="#999999"><p align="center" class="STYLE9">注意:本网页受版权保护,任何个人或集体未经允许私自拷贝都属于违法行为,我们将采取措施。</p>
    <p align="center" class="STYLE9">@2007年12月28日</p></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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