|
|
#17
影子第一2008-02-02 13:30
保存页面的代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<%
set conn = server.CreateObject("adodb.connection")
conn.open "ytdb"
ID=Request.Form("ID")
xlh=Request("xlh")
fl=Request("fl")
htbh=Request("htbh")
yhm=Request("yhm")
sjqc=Request("sjqc")
sjjc=Request("sjjc")
zk=Request("zk")
yhxq=Request("yhxq")
fjxy=Request("fjxy")
jydz=Request("jydz")
bgdz=Request("bgdz")
bgdh=Request("bgdh")
lxr=Request("lxr")
lxdh=Request("lxdh")
czhm=Request("czhm")
QQ=Request("QQ")
Email=Request("Email")
wz=Request("wz")
qyrq=Request("qyrq")
jzrq=Request("jzrq")
gdrq=Request("gdrq")
zl=Request("zl")
ywy=Request("ywy")
sjbz=Request("sjbz")
wlbbz=Request("wlbbz")
scbbz=Request("scbbz")
kfbbz=Request("kfbbz")
jd=Request("jd")
tjxzd=Request("tjxzd")
if trim(sjqc)=""then
response.write "商家名称不能为空,请重新输入!"
response.end
end if
SqlStr="UPDATE 商家数据总列表 SET 序列号='"&xlh&"', 分类='"&fl&"',合同编号ID='"&htbh&"',用户名/注释='"&yhm&"',商家全称='"&sjqc&"',商家简称='"&sjjc&"',折扣='"&zk&"',优惠详情='"&yhxq&"',附加协议='"&fjxy&"',经营地址='"&jydz&"',办公地址='"&bgdz&"',办公电话='"&bgdh&"',联系人='"&lxr&"',联系电话='"&lxdh&"',传真号码='"&czhm&"',QQ='"&QQ&"',E-mail='"&Email&"',网址='"&wz&"',签约日期=#"&qyrq&"#,截止日期=#"&jzrq&"#,归档日期=#"&gdrq&"#,资料='"&zl&"',业务员='"&ywy&"',商家备注='"&sjbz&"',网络部备注='"&wlbbz&"',市场部备注='"&scbbz&"',客服部备注='"&kfbbz&"',校对='"&jd&"',添加新字段='"&tjxzd&"'where ID='"&ID&"'"
Conn.Execute(SqlStr)
Response.Redirect"index.html"
%>
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
</body>
</html>
|