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

📄 enableproduct.asp

📁 online sales system of texttile mill was a project within which there was great opportunity for Lear
💻 ASP
字号:
<!-- #include file="conn.asp" -->
<html>
<head>
</head>
<body>
<%
product_id = request.QueryString("product_id")
Set oRs = Server.CreateObject("ADODB.RecordSet")
SQL = "select * from disabled where productid="&product_id
Set oRs = objcon.execute(SQL)
Set oRs2 = Server.CreateObject("ADODB.RecordSet")
oRs2.open "products",objcon, 2,3
	oRs2.AddNew

oRs2.AddNew
	oRs2.Fields("productid") = oRs.Fields("productid")
	oRs2.Fields("Name") = oRs.Fields("name")
	oRs2.Fields("Quality") = oRs.Fields("Quality")
	oRs2.Fields("Price") = oRs.Fields("price")
	oRs2.Fields("imagePath") = oRs.Fields("imagepath")
	oRs2.Fields("techId") = oRs.Fields("techid")
  	oRs2.Fields("type") = oRs.Fields("type")
	oRs2.Update
oRs2.close
oRs.close
SQL = "delete * from disabled where product_id="&product_id
objCon.execute(sql)

response.redirect "enable.asp"
%>
</body>
</html>

⌨️ 快捷键说明

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