我点击保存后,打工数据库发现里面都是NULL。
代码如下:
<!--#include file="conn.asp"-->
<%
dim rs111,sql111
set rs11=server.createobject("adodb.recordset")
sql11="select * from info_testitem2"
rs11.open sql11,conn,3,3
rs11.addnew
rs11("ProjectName")=request.form("p_product")
rs11("BU")=request.form("p_bu")
rs11("ProjectCustomer")=request.form("p_customer")
rs11("TestModel")=request.form("p_testmodel")
rs11("TestStage")=request.form("p_stae")
rs11("TestItem")=request.form("p_item")
rs11("TestSample")=request.form("p_sample")
rs11("TestEquipment")=request.form("p_equipment")
rs11("TestOwner")=request.form("p_owner")
if request.form("p_remark")="" then
rs11("Description")="blank"
else
rs11("Description")=request.form("p_remark")
end if
'rs11("status")=1
rs11.update
rs11.close
Response.Write "保存成功,网页立即返回! <br>"
%>
[此贴子已经被作者于2007-6-21 17:23:19编辑过]