📄 updateshangpin.asp
字号:
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<!--#include file="../Inc/Config.asp" -->
<!--#include file="../Inc/dbconn.asp" -->
<!--#include file="Style.asp" -->
<head>
<title><%=appname%></title>
<%
id=trim(Request("id"))
set rs = server.CreateObject("adodb.recordset")
sql="select * from pro_shangpin where id='"&id&"'"
rs.Open sql,conn,0,2,1
if not( rs.EOF or rs.BOF) then
%>
<script language="javascript">
<!--
function ockgo()
{
if (document.form1.spbianhao.value=="")
{
alert("请输入商品编码");
return false;
}
if (document.form1.spname.value=="")
{
alert("请输入商品名称");
return false;
}
if (document.form1.spdanwei.value=="")
{
alert("请输入商品单位");
return false;
}
else
document.Form1.submit();
}
-->
</script>
</head>
<body>
<form name="form1" id="form1" method="post" action="upsaveshangpin.asp">
<table width="657" height="260" border="0">
<tr class="blue">
<td width="89" height="21">商品编号 :
<td width="160"><input name="spbianhao" id="spbianhao" type="text" size="25" class="InputText" style="width:160;height:19;background-color:#FFFFFF;" value="<%=rs("shangpinbianma")%>" readonly=""/></td>
<td width="85">*必写
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -